From d91fb9e8961e67476b2532ce45291ad44f63d74a Mon Sep 17 00:00:00 2001 From: Code WvS Date: Wed, 4 Mar 2015 17:54:33 +0100 Subject: start in #run mode --- binary.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'binary.sh') diff --git a/binary.sh b/binary.sh index 1d23507..b8ba90c 100755 --- a/binary.sh +++ b/binary.sh @@ -63,8 +63,8 @@ then # load custom project from url sed -i "/ide\.openIn/a\ ide.droppedText(ide.getURL('$url'));" snap.html - # ... in presentation mode - sed -i "s/this.isAppMode = false/this.isAppMode = true/g" gui.js + 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