个人博客打包成桌面应用程序

一.下载nativefier

npm install nativefier -g

二.制作APP

nativefier "https://hixingchen.com"

若想修改图标与名字:

nativefier --icon Blog.ico --name "XingChen-Blog" "https://hixingchen.com"

Blog.ico是自己的图标名字,图标放在安装目录下;

name不要有中文,不在命令里修改名字也是可以的,可直接在安装完的应用程序直接修改名字。

最后如果有兴趣可以去github上看nativefier作者的源代码,有更详细的解释:https://github.com/jiahaog/nativefier

146人评论了“个人博客打包成桌面应用程序”

  1. RegurgitationThe passive retrograde flow of esophageal contents into the mouth
    without the muscular activity associated with
    vomiting and without antecedent nausea. viagetpill.com RegurgitationThe
    passive retrograde flow of esophageal contents into the mouth without the muscular
    activity associated with vomiting and without antecedent nausea.

  2. An iron-rich herbal tonic can also be made using the following recipe: Soak one-half ounce of yellow dock root
    and one-half ounce dandelion root in 1 qt of boiled water for
    4—8 hours. how does viagra work An iron-rich herbal tonic can also be made using
    the following recipe: Soak one-half ounce of yellow dock root and one-half ounce
    dandelion root in 1 qt of boiled water for 4—8 hours.

发表评论

电子邮件地址不会被公开。