Skip to content

Commit 3ec4ef6

Browse files
committed
Update package.json
1 parent dd736d6 commit 3ec4ef6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

package.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
"scripts": {
1010
"start": "electron .",
1111
"package": "electron-builder",
12-
"build": "electron-builder --win --linux",
13-
"build:mac": "npm install --no-optional && electron-builder --mac",
12+
"build": "npm run build:linux && npm run build:windows && npm run build:mac", // Updated build script
13+
"build:linux": "electron-builder --linux AppImage -p never",
14+
"build:windows": "electron-builder --win nsis -p never",
15+
"build:mac": "npm install --no-optional && electron-builder --mac -p never", // Install without optional
1416
"lint": "eslint .",
1517
"test": "echo \"No tests specified\" && exit 0"
1618
},
@@ -49,9 +51,6 @@
4951
"electron-builder": "^25.1.8",
5052
"eslint": "^8.0.0"
5153
},
52-
"optionalDependencies": {
53-
"dmg-license": "^1.0.11"
54-
},
5554
"repository": {
5655
"type": "git",
5756
"url": "git+https://github.com/th3cyb3rhub/TheCyberHUB-Desktop.git"

0 commit comments

Comments
 (0)