Created
August 23, 2013 18:20
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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