Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Electron-Builder - Windows & Linux & Mac - ZIP #3644

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,8 @@ module.exports = function (grunt) {

grunt.registerTask('default', ['newer:babel', 'less', 'newer:copy:dev', 'shell:electron', 'watchChokidar']);

grunt.registerTask('electron-builder', ['clean:release', 'babel', 'less', 'copy:dev']);

if (!IS_WINDOWS && !IS_LINUX) {
grunt.registerTask('release', ['clean:release', 'babel', 'less', 'copy:dev', 'electron', 'copy:osx', 'shell:sign', 'shell:zip', 'copy:windows', 'rcedit:exes', 'compress', 'shell:linux_npm', 'electron-packager:osxlnx', 'electron-installer-debian:linux64', 'shell:linux_zip']);
}else if (IS_LINUX) {
Expand Down
21 changes: 19 additions & 2 deletions electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,23 @@
},
"packages.json"
],
"linux": {},
"linux": {
"target":[
{
"target":"AppImage"
},
{
"target":"zip"
}
]
},
"mac": {
"category": "public.app-category.developer-tools"
"category": "public.app-category.developer-tools",
"target":[
{
"target":"zip"
}
]
},
"msi": {
"warningsAsErrors": false
Expand All @@ -32,6 +46,9 @@
},
{
"target": "msi"
},
{
"target":"zip"
}
]
}
Expand Down
Loading