Skip to content

Commit

Permalink
Merge pull request #1322 from ipy/win
Browse files Browse the repository at this point in the history
ci(win): fix windows script
  • Loading branch information
ipy authored Jul 20, 2020
2 parents cddba56 + 9de3de5 commit 689c6d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions scripts/build-win.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
node scripts/gen-electron-builder-config.js
node .electron-vue/build.js

yarn run electron-builder -p never -w %1
node scripts/gen-electron-builder-config.js && node .electron-vue/build.js && yarn run electron-builder -p never -w %1
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ switch (process.platform) {
proc = spawn(join(__dirname, 'build-mac.sh'), options);
break;
case 'win32':
proc = spawn(join(__dirname, 'build-mac.bat'), options);
proc = spawn(join(__dirname, 'build-win.bat'), options);
break;
default:
console.error(`Platform ${process.platform} not supported yet`);
Expand Down

0 comments on commit 689c6d8

Please sign in to comment.