From 800da44bc8cfd9c6d290ae07df4c420bd68ac6ec Mon Sep 17 00:00:00 2001 From: Code WvS Date: Fri, 20 Mar 2015 21:28:02 +0100 Subject: small binary.sh improvement --- binary.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/binary.sh b/binary.sh index 5c5d89e..5ed25ac 100755 --- a/binary.sh +++ b/binary.sh @@ -68,8 +68,9 @@ then sed -i "s/snap.html/snap.html${url}/g" config.xml package.json else # load custom project from url - sed -i "/ide\.openIn/a\ + sed -i "/overpass\.xml/a\ ide.droppedText(ide.getURL('$url'));" snap.html + sed -i "/overpass\.xml/d" snap.html sed -i "/this.toggleAppMode(false)/d" gui.js sed -i "s/snap.html/snap.html#run:/g" config.xml package.json fi -- cgit v1.3.1