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