From 4b2ca15547c88ff9a785d4716011079cf6c7ae09 Mon Sep 17 00:00:00 2001 From: Gubolin Date: Wed, 4 Mar 2015 17:46:52 +0100 Subject: drop "binary mode" support (too difficult to mantain) --- binary.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'binary.sh') diff --git a/binary.sh b/binary.sh index 868cef6..83b8d12 100755 --- a/binary.sh +++ b/binary.sh @@ -52,13 +52,9 @@ git checkout mobileapp if [ $ide == false ] then # minimize everything - rm lang* ypr.js paint.js cloud.js gui.js *.sh *.pdf *.txt + rm *.sh *.pdf *.txt rm -r help/ Costumes/ Backgrounds/ Sounds/ - sed -i '/paint\.js"/d' snap.html - sed -i '/cloud\.js"/d' snap.html - sed -i 's/gui\.js"/binary\.js"/' snap.html - # if a file was given, move it to "project.xml" # it will be loaded like an URL then if [ -f "$3" ] @@ -71,10 +67,9 @@ then # load custom project from url sed -i "/ide\.openIn/a\ - ide.droppedText(ide.getURL('$url')); " snap.html - -else - rm binary.js + ide.droppedText(ide.getURL('$url'));" snap.html + sed -i "/this.toggleAppMode(false)/d" gui.js + sed -i "s/snap.html/snap.html#run:/g" config.xml package.json fi # compress all js files -- cgit v1.3.1