summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCode WvS <code-wvs@quantentunnel.de>2015-03-04 17:54:33 +0100
committerCode WvS <code-wvs@quantentunnel.de>2015-03-04 17:54:33 +0100
commitd91fb9e8961e67476b2532ce45291ad44f63d74a (patch)
treec4d2a9ef1844da2f91ed8f21eb140bdbe93c9780
parentcdc1af7f05c172efd3b99b4768b98bd91831c363 (diff)
downloadsnap-yow-d91fb9e8961e67476b2532ce45291ad44f63d74a.tar.gz
snap-yow-d91fb9e8961e67476b2532ce45291ad44f63d74a.zip
start in #run mode
-rwxr-xr-xbinary.sh4
1 files changed, 2 insertions, 2 deletions
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