Browse Source

Added electron package scripts.

all-modes
michal maxian 8 years ago
parent
commit
9ef238096b
  1. 7
      electron-build-linux.sh
  2. 7
      electron-build-osx.sh
  3. 7
      electron-build-win.sh

7
electron-build-linux.sh

@ -0,0 +1,7 @@
echo "Build script for Iguana application for Linux platform."
echo "Preparing electron package $VERSION" && \
electron-packager . --platform=linux --arch=x64 \
--icon=assets/icons/iguana_app_icon_png/128x128.png \
--out=build/ --buildVersion=$VERSION \
--ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite || \
echo "Did you call script with VERSION variable?"

7
electron-build-osx.sh

@ -0,0 +1,7 @@
echo "Build script for Iguana application for MacOS platform."
echo "Preparing electron package $VERSION" && \
electron-packager . --platform=darwin --arch=x64 \
--icon=assets/icons/iguana_app_icon.icns \
--out=build/ --buildVersion=VERSION_NUMBER_HERE \
--ignore=assets/bin/win64 --ignore=assets/bin/linux64 --overwrite || \
echo "Did you call script with VERSION variable?"

7
electron-build-win.sh

@ -0,0 +1,7 @@
echo "Build script for Iguana application for Windows platform."
echo "Preparing electron package $VERSION" && \
electron-packager . --platform=win32 --arch=all
--icon=assets/icons/iguana_app_icon.ico
--out=build/ --buildVersion=VERSION_NUMBER_HERE
--ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite || \
echo "Did you call script with VERSION variable?"
Loading…
Cancel
Save