Skip to content

Instantly share code, notes, and snippets.

@mgttt
Last active March 12, 2016 01:41
Show Gist options
  • Save mgttt/b4ba2bdb9bd01d174e5d to your computer and use it in GitHub Desktop.
Save mgttt/b4ba2bdb9bd01d174e5d to your computer and use it in GitHub Desktop.
:; sh start_unix.sh; exit
call start_dos.bat
@mgttt
Copy link
Author

mgttt commented Mar 12, 2016

a small script to launch the program universally (auto judge os unix or windows/dos and call entry command), e.g. NWJS
the leading :; is the trick

p.s. not knowing any better "executable binary" to do the same, so for the official published version nwjs software, two seperate entry binary might be needed..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment