mirror of https://github.com/lukechilds/Agama.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
920 B
27 lines
920 B
#!/bin/bash
|
|
### Build script for Iguana application for MacOS platform.
|
|
### Created by mmaxian, 3/2017
|
|
|
|
[ -z $AGAMA_VERSION ] && echo "AGAMA_VERSION variable is not set." && exit 0
|
|
|
|
echo
|
|
echo =========================================
|
|
echo Step: Removing old binaries
|
|
rm -rvf artifacts.supernet.org
|
|
echo
|
|
echo Step: Cloning latest binaries for build
|
|
wget --recursive --no-parent -q https://artifacts.supernet.org/latest/osx/
|
|
find artifacts.supernet.org/latest/osx/ -exec ls -l {} \;
|
|
cd ..
|
|
echo =========================================
|
|
echo
|
|
|
|
echo "Build script for Iguana application for MacOS platform."
|
|
echo "Preparing electron package $AGAMA_VERSION"
|
|
|
|
electron-packager . --platform=darwin --arch=x64 \
|
|
--icon=assets/icons/agama_app_icon.icns \
|
|
--out=build/ --buildVersion=$AGAMA_VERSION \
|
|
--ignore=build/artifacts.supernet.org/latest/windows \
|
|
--ignore=build/artifacts.supernet.org/latest/linux \
|
|
--overwrite
|