Skip to content

Commit

Permalink
Re-configured build script
Browse files Browse the repository at this point in the history
  • Loading branch information
kglovern committed Jun 24, 2022
1 parent 1fcd219 commit 41ed4b7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions scripts/electron-builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ pushd "$__dirname/../dist/gsender"
echo "Cleaning up \"`pwd`/node_modules\""
rm -rf node_modules
echo "Installing packages..."
yarn --production --ignore-engines
npm install --production --ignore-engines
npm dedupe
popd

#echo "Rebuild native modules using electron ${electron_version}"
#npm run electron-rebuild -- \
# --version=${electron_version:1} \
# --module-dir=dist/gsender \
# --which-module=serialport
echo "Rebuild native modules using electron ${electron_version}"
npm run electron-rebuild -- \
--version=${electron_version:1} \
--module-dir=dist/gsender \
--which-module=serialport

yarn electron-builder install-app-deps

cross-env USE_HARD_LINKS=false yarn electron-builder -- "$@"

0 comments on commit 41ed4b7

Please sign in to comment.