diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rwxr-xr-x | make_desktop.sh | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -23,7 +23,7 @@ my life miserable about missing APIs etc. Desktop Platforms ----------------- -Treat this as Alpha. I'm using the awesome [Electron] packager (http://electron.atom.io) to auto-package my ionic apps to executables. +Treat this as Beta. I'm using the awesome [Electron packager] (http://electron.atom.io) to auto-package my ionic apps to executables. It may contain bugs. diff --git a/make_desktop.sh b/make_desktop.sh index 4448b236..7e236fdf 100755 --- a/make_desktop.sh +++ b/make_desktop.sh @@ -2,7 +2,6 @@ exe() { echo "\$ $@" ; "$@" ; } -# Custom stuff I need to do for zmNinja echo ---------------------------------------------------- echo Pliable Pixels Desktop build process echo ---------------------------------------------------- @@ -14,6 +13,8 @@ declare -a app_ports=("../zmNinja-mac.app/Contents/Resources" "../zmNinja-linux/ for i in "${app_ports[@]}" do if [ -d "$i" ]; then + DIRNAME=`expr "$i" : '\.\./\(.*\)/'` + ZIPNAME=$DIRNAME".zip" echo "------------------------------------------------------------------------" echo "Working on packaging $i" echo "------------------------------------------------------------------------" @@ -31,6 +32,8 @@ if [ -d "$i" ]; then exe asar pack app app.asar exe rm -fr app exe cd - + #echo "creating build ZIP" + #exe zip -r ../$ZIPNAME ../$DIRNAME echo "Done!" else |
