use pkg create .exe .dmg etc
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
pkg-test
npm install pkg -g
打包
pkg index.js
打包后生成三个文件