mirror of
https://github.com/Pandipipas/scoreko-electron-dev.git
synced 2026-06-06 05:32:06 +00:00
Remove Electron wrapper and associated scripts for Scoreko
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
import { cpSync, existsSync, mkdirSync } from "node:fs";
|
||||
import path from "node:path";
|
||||
|
||||
const root = process.cwd();
|
||||
const distStatic = path.join(root, "dist", "static");
|
||||
const sourceStatic = path.join(root, "static");
|
||||
|
||||
mkdirSync(distStatic, { recursive: true });
|
||||
|
||||
if (existsSync(sourceStatic)) {
|
||||
cpSync(sourceStatic, distStatic, { recursive: true });
|
||||
console.log("Copied static assets to dist/static");
|
||||
} else {
|
||||
console.warn("No static folder found, skipping copy-assets step");
|
||||
}
|
||||
Reference in New Issue
Block a user