diff --git a/electron-build-linux.sh b/electron-build-linux.sh new file mode 100755 index 0000000..8312a08 --- /dev/null +++ b/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?" \ No newline at end of file diff --git a/electron-build-osx.sh b/electron-build-osx.sh new file mode 100755 index 0000000..177845b --- /dev/null +++ b/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?" \ No newline at end of file diff --git a/electron-build-win.sh b/electron-build-win.sh new file mode 100755 index 0000000..5b9d0c2 --- /dev/null +++ b/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?" \ No newline at end of file