This article is from a column of Segmentfault: 1.,190,000,012,924,86e,+15 But this is the Mac version, so I tried the Windows edition;
Certainly want to see, can crossing the address of the net Https://github.com/jiahaog/nativefier/blob/master/docs/api.md
1. Install nativefier; NPM Install Nativefier–g
First you will be asked to install node in the computer, higher than 4.x.x on the line
2. Run the page you need to make Nativefier "http://www.sulishibaobei.com"
Be careful not to use single quotes "; otherwise this error will occur:
When you're done, you'll get a hint like this:
Follow the prompts to see the app saved under the users > Administrator in the C drive
Open the folder to see App.exe run to
Well, making an app is done;
Then there are some features;
Change the name, simple call App.exe certainly not pleasant; nativefier--name "blog" "Http://www.sulishibaobei.com"
Such a folder; the execution file becomes Blog.exe.
But there is another problem: Nativefier–icon "2.png" –name "blog" http://www.sulishibaobei.com
Here are a few things to note:
The icon must be a. png ending for use;
There are a lot of parameter settings, fullscreen, etc.
You can see that all the resources are here:
This kind of way is actually similar to Chrome–app;
I used crosswalk before, and the principle of this is the same;
http://blog.csdn.net/sulishibaobei/article/details/52441693;
http://blog.csdn.net/sulishibaobei/article/details/52451019;
http://blog.csdn.net/sulishibaobei/article/details/52485188;
5 minutes to turn any website into desktop software version--windows