Fixed bundling into an exe not working as intended.
This commit is contained in:
25
package.json
25
package.json
@@ -6,7 +6,8 @@
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"start": "tsc && node server.js",
|
||||
"electron": "tsc && electron ."
|
||||
"electron": "tsc && electron .",
|
||||
"dist": "npm run build && electron-builder"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
@@ -29,8 +30,30 @@
|
||||
"@types/jsonwebtoken": "^9.0.10",
|
||||
"@types/node": "^24.0.0",
|
||||
"electron": "^39.2.5",
|
||||
"electron-builder": "^26.0.12",
|
||||
"node-gyp": "^12.1.0",
|
||||
"ts-node": "^10.9.0",
|
||||
"typescript": "^5.3.0"
|
||||
},
|
||||
"build": {
|
||||
"appId": "app.waifuboard",
|
||||
"productName": "Waifu Board",
|
||||
"files": [
|
||||
"electron/**/*",
|
||||
"server.js",
|
||||
"main.js",
|
||||
"preload.js",
|
||||
"package.json",
|
||||
"views/**/*",
|
||||
"src/scripts/**/*",
|
||||
"public/assets/*"
|
||||
],
|
||||
"extraResources": [
|
||||
"./.env"
|
||||
],
|
||||
"win": {
|
||||
"target": "portable",
|
||||
"icon": "public/assets/waifuboards.ico"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user