Recent projects require the use of node-webkit. Deal with the compatibility of old-level users and their "data security" issues.
1, Download complete Node-webkit
2, the production of APPNAME.NW documents
3, copy/b NW.EXE+APPNAME.NW TestAppName.exe
So far, TestAppName.exe files have been generated in the directory, and double-clicking is perfect.
But, directly will TestAppName.exe change a directory, but can not open.
Google + Baidu's solution: Use the Enigma Virtual box tool, packaged into EXE files. (Enigma Virtual Box using the method please Baidu or Google)
Well, it's OK, but ... The evil 360 anti-virus software unexpectedly reported virus, and incurable ~
So continue Baidu +google ...
Okay, cut the crap, on the way:
"3, copy/b nw.exe+appname.nw TestAppName.exe" After the completion of this step, to download a tool called Inno Setup compiler.
Always next (each step will have the appropriate parameters and name settings) until the following figure:
The first red box is the file that is packaged with copy. The second red box is the dependent file that you need to add (essential).
After completing, continue to the next step to the end.
Success!!!
The above is the entire content of this article, I hope that the small partners can like.