Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Commit c108f5e

Browse files
committed
feat: add Linux "deb" package output
1 parent 7be1e62 commit c108f5e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

electron-builder.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ const config = {
2424
target: 'nsis',
2525
artifactName: '${productName}Setup-${arch}-${version}.${ext}',
2626
},
27+
linux: {
28+
target: 'deb',
29+
category: 'Development',
30+
},
2731
nsis: {
2832
allowToChangeInstallationDirectory: true,
2933
oneClick: false,

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"build-electron": "electron-builder build --config electron-builder.config.js",
1313
"precompile": "cross-env MODE=production yarn build",
1414
"compile": "yarn build-electron --dir",
15+
"package:linux": "yarn build-electron --linux",
1516
"watch": "node scripts/watch.js",
1617
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
1718
"postinstall": "electron-builder install-app-deps"

0 commit comments

Comments
 (0)