Skip to content

Commit

Permalink
fix npm run parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ZyqGitHub1 committed Sep 18, 2019
1 parent 4b6cad7 commit daed7b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ script:
-v ~/.cache/electron:/root/.cache/electron \
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
electronuserland/builder:wine \
/bin/bash -c "npm install && npm run electron:build --bundler builder --target linux"
/bin/bash -c "npm install && npm run electron:build -- --bundler builder --target linux"
linux_file=`ls dist/electron/Packaged/ | grep '.AppImage$'`
./ossutil64 cp "dist/electron/Packaged/${linux_file}" "${BUCKET}/${linux_file}" -f
Expand All @@ -58,7 +58,7 @@ script:
-v ~/.cache/electron:/root/.cache/electron \
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
electronuserland/builder:wine \
/bin/bash -c "npm install && npm run electron:build --bundler builder --target win"
/bin/bash -c "npm install && npm run electron:build -- --bundler builder --target win"
win_file=`ls dist/electron/Packaged/ | grep '.zip$'`
./ossutil64 cp "dist/electron/Packaged/${win_file}" "${BUCKET}/${win_file}" -f
else
Expand Down

0 comments on commit daed7b5

Please sign in to comment.