Skip to content

Instantly share code, notes, and snippets.

@arbalest
Created August 23, 2013 18:20
Show Gist options
  • Save arbalest/6322381 to your computer and use it in GitHub Desktop.
Save arbalest/6322381 to your computer and use it in GitHub Desktop.
Batch file that zips up a node-webkit application folder and launches it in one step. Assumes the following: 1. That 7-zip is installed (alter path on line 5) 2. That this script is placed alongside "nw.exe" and that the application files are stored in a folder named "app", relative to this script
if exist app.nw (
del app.nw
)
cd app
"C:\Program Files\7-Zip\7z.exe" a -tzip ../app.nw *
cd ../
nw.exe app.nw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment