Skip to content

Commit

Permalink
Update mac build target to zip
Browse files Browse the repository at this point in the history
This fixes building on Catalina. 
Refer to this discussion on electron-builder for why: 
electron-userland/electron-builder#3990
  • Loading branch information
Nathan Hazzard authored and Nathan Hazzard committed May 26, 2020
1 parent e7a875e commit fc0e81d
Show file tree
Hide file tree
Showing 3 changed files with 7,726 additions and 4 deletions.
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function taskBuildLinux() {
} else {
execSync('mv ./dist/linux-ia32-unpacked ./dist/livesplit-electron', {stdio: 'inherit'});
}

sectionOutput('Copying Icon');
execSync('cp ./app/icons/icon.png ./dist/livesplit-electron/icon.png', {stdio: 'inherit'});
sectionOutput('Compressing Package');
Expand Down Expand Up @@ -119,7 +119,7 @@ function taskBuildDarwin() {
sectionOutput('Building Package');
execSync('yarn build', {stdio: 'inherit'});
sectionOutput('Renaming Package');
execSync(`mv ./dist/*.dmg ./dist/livesplit-electron-${version}${unstable}-x64-mac.dmg`, {stdio: 'inherit'});
execSync(`mv ./dist/*.zip ./dist/livesplit-electron-${version}${unstable}-x64-mac.zip`, {stdio: 'inherit'});

sectionOutput('Build Finished');

Expand Down Expand Up @@ -153,4 +153,4 @@ gulp.task('build-windows', function(cb) {
gulp.task('build-darwin', function(cb) {
taskBuildDarwin();
cb();
});
});
Loading

0 comments on commit fc0e81d

Please sign in to comment.