diff options
Diffstat (limited to 'make_desktop.sh')
| -rwxr-xr-x | make_desktop.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/make_desktop.sh b/make_desktop.sh index dab9d05a..3fe6fb5a 100755 --- a/make_desktop.sh +++ b/make_desktop.sh @@ -15,7 +15,10 @@ for i in "${app_ports[@]}" do if [ -d "$i" ]; then DIRNAME=`expr "$i" : '\.\./\(.*\)/'` - ZIPNAME=$DIRNAME".zip" + echo "Dirname:" $DIRNAME + PDIRNAME=`echo "$DIRNAME" | sed "s/\/Contents//" ` + echo "Pdirname:" $PDIRNAME + ZIPNAME="${PDIRNAME}_${APPVER}.zip" echo "------------------------------------------------------------------------" echo "Working on packaging $i" echo "------------------------------------------------------------------------" @@ -34,8 +37,10 @@ if [ -d "$i" ]; then exe asar pack app app.asar exe rm -fr app exe cd - - #echo "creating build ZIP" + #OSX ditto does a better job than zip! + #echo "Creating ZIP $ZIPNAME..." #exe zip -r ../$ZIPNAME ../$DIRNAME + echo "Done!" else |
