build: add Linux AppImage target and dist:linux script
This commit is contained in:
1 parent
e801c02ef6
commit
39d89fbc53
2 files changed
+9
No files matched your search
@@ -15,3 +15,8 @@ win:
|
|||||||
target:
|
target:
|
||||||
- zip
|
- zip
|
||||||
icon: build/icon.png
|
icon: build/icon.png
|
||||||
|
linux:
|
||||||
|
target:
|
||||||
|
- AppImage
|
||||||
|
icon: build/icon.png
|
||||||
|
category: Game
|
||||||
@@ -8,10 +8,14 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron .",
|
"start": "electron .",
|
||||||
"dist": "electron-builder --win zip",
|
"dist": "electron-builder --win zip",
|
||||||
|
"dist:linux": "electron-builder --linux --publish never",
|
||||||
"test": "node test/smoke.js"
|
"test": "node test/smoke.js"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"electron": "^40.10.2",
|
"electron": "^40.10.2",
|
||||||
"electron-builder": "^25.1.8"
|
"electron-builder": "^25.1.8"
|
||||||
|
},
|
||||||
|
"allowScripts": {
|
||||||
|
"electron@40.10.2": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user