summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCode WvS <code-wvs@quantentunnel.de>2015-03-28 10:52:56 +0100
committerCode WvS <code-wvs@quantentunnel.de>2015-03-28 10:52:56 +0100
commitec48446a00bb38cae8867ed4063ecc0ca2297d28 (patch)
tree85e776a0a8702e3c3e19d37978276691a790ff71
parent0f85420767b00ce706fd6646ff812b169962ac60 (diff)
downloadsnap-yow-ec48446a00bb38cae8867ed4063ecc0ca2297d28.tar.gz
snap-yow-ec48446a00bb38cae8867ed4063ecc0ca2297d28.zip
adde98 broke binary.sh project loading
-rwxr-xr-xbinary.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/binary.sh b/binary.sh
index 5ed25ac..b380a48 100755
--- a/binary.sh
+++ b/binary.sh
@@ -68,9 +68,10 @@ then
sed -i "s/snap.html/snap.html${url}/g" config.xml package.json
else
# load custom project from url
- sed -i "/overpass\.xml/a\
- ide.droppedText(ide.getURL('$url'));" snap.html
- sed -i "/overpass\.xml/d" snap.html
+ sed -i "/ide\.openIn/a\
+ setTimeout(function () {\
+ ide.droppedText(ide.getURL('$url'));\
+ }, 2000);" snap.html
sed -i "/this.toggleAppMode(false)/d" gui.js
sed -i "s/snap.html/snap.html#run:/g" config.xml package.json
fi