5 minutes to turn any website into desktop software version--windows

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.