There was an error while loading. Please reload this page.
首先, 你需要安装 Node.JS, 且版本建议 大于等于12.0.0.
然后运行下面的命令:
git clone https://github.com/Apisium/PureLauncher.git cd PureLauncher npm install --production npm link
用于进入插件开发环境, 请先设置环境变量 DEV=true, 然后在启动器启动完成后使用
DEV=true
pl-plugin-dev
输入后会自动检查代码更新并自动重启启动器
用于打包编写完成的插件
pl-plugin-dev build
例如
pl-plugin-dev --entry src/index.ts
插件的入口文件, 默认为 src/index
src/index
插件编译文件的目录, 默认为 dist
dist
调试模式下 PureLauncher 的 HTTP 服务器端口号, 默认为 46781
PureLauncher
46781
打包后的插件的文件名, 默认为 <文件sha1>.asar
<文件sha1>.asar