Browse Source

Added notes into build scripts.

all-modes
michal maxian 8 years ago
parent
commit
bda87d875f
  1. 12
      electron-build-linux.sh
  2. 6
      electron-build-osx.sh
  3. 16
      electron-build-win.sh

12
electron-build-linux.sh

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

6
electron-build-osx.sh

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

16
electron-build-win.sh

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