将网站打包成Windows应用程序

# 准备

### 安装node.js

  • https://nodejs.cn/download/
  • https://npmmirror.com/mirrors/node/v18.20.0/node-v18.20.0-x64.msi

# 安装Nativefier 

npm install nativefier -g

# 创建应用程序

nativefier  "https://www.toutiao.com/"

或者自定义一个客户端程序名:

nativefier --name "toutiao" "https://www.toutiao.com/"
posted @ 2024-04-14 11:36  article  阅读(13)  评论(0编辑  收藏  举报