From 8ecb4c44020f7876cd65713c7a208099cf6c0139 Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Sun, 8 Nov 2015 17:09:13 -0500 Subject: edits Former-commit-id: 92be93ffffd9c7d5f3eeeecae5551439e4ac5f2c --- README.md | 2 +- make_desktop.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 638698d8..7d58b2f6 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3