Replace electron with Bun compile for single-file exe distribution
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
"type-check": "tsc --noEmit",
|
||||
"lint": "eslint \"./src/**/*.{ts,tsx}\" --config ../eslint.config.js",
|
||||
"start": "node bin/cli.js serve",
|
||||
"bundle": "pkg bin/cli.js --public --targets node18-win-x64 --output ../OpenChamber.exe"
|
||||
"embed:static": "node embed-static.js",
|
||||
"build:exe": "vite build && node embed-static.js && bun build entry-singlefile.js --compile --outfile OpenChamber.exe"
|
||||
},
|
||||
"dependencies": {
|
||||
"@codemirror/lang-cpp": "^6.0.3",
|
||||
|
||||
Reference in New Issue
Block a user