summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-11-08 17:09:13 -0500
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-11-08 17:09:13 -0500
commit8ecb4c44020f7876cd65713c7a208099cf6c0139 (patch)
tree06080c4ce122d59e3e8cde87549c917a6991ed16
parenta2dee7794f8991aad06e97334b8119cbd87526fc (diff)
edits
Former-commit-id: 92be93ffffd9c7d5f3eeeecae5551439e4ac5f2c
-rw-r--r--README.md2
-rwxr-xr-xmake_desktop.sh5
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