Recent projects need to use Node-webkit. Deal with the compatibility of older users and the ' data security ' issues in their minds.
1, download finished Node-webkit
2. Making APPNAME.NW Files
3, copy/b NW.EXE+APPNAME.NW TestAppName.exe
So far, the TestAppName.exe file has been generated in the directory, and the double-click operation is perfect.
But, the TestAppName.exe change a directory directly, but can't open.
Google + Baidu's solution: Use the Enigma Virtual box tool to package as an EXE file. (For Enigma Virtual Box, please use Baidu or Google)
Well, that's OK, but ... The evil 360 antivirus software has reported the virus, and is hopeless ~
So continue Baidu +google ...
All right, nonsense less, on the method:
"3, copy/b nw.exe+appname.nw TestAppName.exe" This step is done, to download a tool called Inno Setup compiler.
Always next (each step will have the corresponding parameter and name setting) until:
The first red box is a file packaged with copy. The second red box is a dependent file that needs to be added (essential).
After filling out, continue to the next ~ until the end.
Success!!!
Node-webkit (Windows system) packaged as EXE file, by 360 antivirus software false report Trojan solution