Recently, node-webkit is required for projects. Deal with the compatibility of ancient users and their mental 'data security' issues.
1. Download node-webkit
2. Create appName.nw file
3. copy /b nw.exe+appName.nw TestAppName.exe
So far, the TestAppName.exe file has been generated in the directory, and it is perfect to run it on the double-click.
However, I can't open it by simply changing the directory of TestAppName.exe.
Google+Baidu's solution: Use Enigma Virtual Box tool to package it into an exe file. (If you want to use Enigma Virtual Box, please Baidu or Google)
OK, it's OK, but... the evil 360 antivirus software actually reported the virus, and it was hopeless~
So I continued Baidu + Google...
OK, let's talk less nonsense, the above method:
[3. copy /b nw.exe+appName.nw TestAppName.exe] After this operation is completed, download a tool called Inno Setup Compiler.
Keep going to the next step (each step will have corresponding parameters and name settings) until the figure below:
The first red box is the file packaged with copy. The second red box is the dependency file (essential) that needs to be added.
After filling in, continue to the next step ~ until the end.
success! ! !
The above is all about this article, I hope you can like it.