diff --git a/buildscripts/electron-build-all.sh b/buildscripts/electron-build-all.sh index 9320d5c..ff95080 100755 --- a/buildscripts/electron-build-all.sh +++ b/buildscripts/electron-build-all.sh @@ -4,14 +4,14 @@ [ -z $IGUANA_VERSION ] && echo "IGUANA_VERSION variable is not set." && exit 0 -echo "Build script for Iguana application for Linux x32 and x64 platform." -echo "Preparing electron package $IGUANA_VERSION" && \ -source ./electron-build-linux.sh && echo "done." +echo "Preparing electron package $IGUANA_VERSION for Linux." +./buildscripts/electron-build-linux.sh +echo -echo "Build script for Iguana application for Windows ia32 and x64 platform." -echo "Preparing electron package $IGUANA_VERSION" && \ -source ./electron-build-win.sh && echo "done." +echo "Preparing electron package $IGUANA_VERSION for Windows." +./buildscripts/electron-build-win.sh +echo -echo "Build script for Iguana application for MacOS platform." -echo "Preparing electron package $IGUANA_VERSION" && \ -source ./electron-build-osx.sh && echo "done." \ No newline at end of file +echo "Preparing electron package $IGUANA_VERSION for MacOS." +./buildscripts/electron-build-osx.sh +echo \ No newline at end of file diff --git a/buildscripts/electron-build-linux.sh b/buildscripts/electron-build-linux.sh index d3c9d14..8189ca1 100755 --- a/buildscripts/electron-build-linux.sh +++ b/buildscripts/electron-build-linux.sh @@ -5,13 +5,12 @@ [ -z $IGUANA_VERSION ] && echo "IGUANA_VERSION variable is not set." && exit 0 echo "Build script for Iguana application for Linux x32 and x64 platform." -echo "Preparing electron package $IGUANA_VERSION" && \ -electron-packager . --platform=linux --arch=x32 \ +echo "Preparing electron package $IGUANA_VERSION" +electron-packager . --platform=linux --arch=ia32 \ --icon=assets/icons/iguana_app_icon_png/128x128.png \ --out=build/ --buildVersion=$IGUANA_VERSION \ - --ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite && \ + --ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite electron-packager . --platform=linux --arch=x64 \ --icon=assets/icons/iguana_app_icon_png/128x128.png \ --out=build/ --buildVersion=$IGUANA_VERSION \ - --ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite || \ -echo "PROBLEM: Did you call script with IGUANA_VERSION variable?" \ No newline at end of file + --ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite \ No newline at end of file diff --git a/buildscripts/electron-build-osx.sh b/buildscripts/electron-build-osx.sh index a86f737..b92f5ae 100755 --- a/buildscripts/electron-build-osx.sh +++ b/buildscripts/electron-build-osx.sh @@ -5,9 +5,8 @@ [ -z $IGUANA_VERSION ] && echo "IGUANA_VERSION variable is not set." && exit 0 echo "Build script for Iguana application for MacOS platform." -echo "Preparing electron package $IGUANA_VERSION" && \ +echo "Preparing electron package $IGUANA_VERSION" electron-packager . --platform=darwin --arch=x64 \ --icon=assets/icons/iguana_app_icon.icns \ --out=build/ --buildVersion=$IGUANA_VERSION \ - --ignore=assets/bin/win64 --ignore=assets/bin/linux64 --overwrite || \ -echo "PROBLEM: Did you call script with IGUANA_VERSION variable?" \ No newline at end of file + --ignore=assets/bin/win64 --ignore=assets/bin/linux64 --overwrite \ No newline at end of file diff --git a/buildscripts/electron-build-win.sh b/buildscripts/electron-build-win.sh index d386731..0e1e22a 100755 --- a/buildscripts/electron-build-win.sh +++ b/buildscripts/electron-build-win.sh @@ -5,13 +5,14 @@ [ -z $IGUANA_VERSION ] && echo "IGUANA_VERSION variable is not set." && exit 0 echo "Build script for Iguana application for Windows ia32 and x64 platform." -echo "Preparing electron package $IGUANA_VERSION" && \ +echo "Preparing electron package $IGUANA_VERSION" + electron-packager . --platform=win32 --arch=x64 \ --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 + 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 || \ -echo "PROBLEM: Did you call script with IGUANA_VERSION variable?" \ No newline at end of file + --ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite \ No newline at end of file