Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (9 sloc) 459 Bytes
#!/bin/bash
unamestr=`uname`
if [[ "$unamestr" == 'Linux' ]]; then
/opt/google/chrome/google-chrome "http://localhost:4567/wrt_bastard/emulator.html" --disable-web-security &
elif [[ "$unamestr" == 'Darwin' ]]; then
open "http://localhost:4567/wrt_bastard/emulator.html" --args --disable-web-security &
fi
# TODO windowss support
# /c/Users/Car/AppData/Local/Google/Chrome/Application/chrome.exe "`pwd`/wrt_bastard/emulator.html" --disable-web-security &