summaryrefslogtreecommitdiff
path: root/binary.sh
diff options
context:
space:
mode:
Diffstat (limited to 'binary.sh')
-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