Skip to content

Instantly share code, notes, and snippets.

@itsananderson
Created July 1, 2014 00:31
Show Gist options
  • Save itsananderson/bbced310ab32b759bd97 to your computer and use it in GitHub Desktop.
Save itsananderson/bbced310ab32b759bd97 to your computer and use it in GitHub Desktop.
Node Webkit Setup - Windows
mkdir build
taskkill /F /im mimic.exe
copy /b bin\node-webkit\* build
pushd source
del ..\build\mimic.nw
..\bin\zip\bin\zip.exe -r ..\build\mimic.nw *
popd
copy /b build\nw.exe+build\mimic.nw build\mimic.exe
#!/bin/sh
mkdir bin
mkdir bin/bzip2
mkdir bin/zip
mkdir bin/node-webkit
pushd bin/bzip2
curl -L -o bzip2.zip http://gnuwin32.sourceforge.net/downlinks/bzip2-bin-zip.php
unzip bzip2.zip
popd
pushd bin/zip
curl -L -o zip.zip http://sourceforge.net/projects/gnuwin32/files/zip/3.0/zip-3.0-bin.zip/download
unzip zip.zip
cp ../bzip2/bin/bzip2.dll bin
popd
pushd bin/node-webkit
curl -L -o node-webkit.zip http://dl.node-webkit.org/v0.9.2/node-webkit-v0.9.2-win-ia32.zip
unzip node-webkit.zip
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment