diff options
| author | Gubolin <gubolin@fantasymail.de> | 2015-03-04 17:46:52 +0100 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2015-03-04 17:46:52 +0100 |
| commit | 4b2ca15547c88ff9a785d4716011079cf6c7ae09 (patch) | |
| tree | fb0ca1de511927cb4e3f3abc0bcf068b2acf2814 /binary.sh | |
| parent | 3af7d0d6100fba5fcc0ce062597d3dea61ef2ea7 (diff) | |
| download | snap-4b2ca15547c88ff9a785d4716011079cf6c7ae09.tar.gz snap-4b2ca15547c88ff9a785d4716011079cf6c7ae09.zip | |
drop "binary mode" support (too difficult to mantain)
Diffstat (limited to 'binary.sh')
| -rwxr-xr-x | binary.sh | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -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 |
