add linux packaging

This commit is contained in:
Bruce Liu 2020-06-22 13:48:36 +08:00
parent b7e97f3db1
commit 0bb943d453

View File

@ -8,7 +8,8 @@
"electron": "electron ./dist/electron.js",
"start": "npm run build && npm run electron",
"package-win": "electron-builder -w --x64 && electron-builder -w --ia32 && electron-builder -w appx:arm64",
"package-mac": "sudo electron-builder --mac"
"package-mac": "sudo electron-builder --mac",
"package-linux": "electron-builder --linux"
},
"keywords": [],
"author": "Haoyuan Liu",
@ -49,6 +50,11 @@
"target": [
"dmg"
]
},
"linux": {
"target": [
"AppImage"
]
}
},
"devDependencies": {