编译步骤

This commit is contained in:
fanchenio 2023-08-11 13:29:22 +08:00
parent 8790c8d629
commit d448342d13
2 changed files with 9 additions and 0 deletions

3
.prettierrc Normal file
View File

@ -0,0 +1,3 @@
{
"printWidth": 160,
}

View File

@ -6,6 +6,12 @@ Windows快捷启动工具帮助您整理杂乱无章的桌面分门别类
Electron
# 支持平台
Windows
# 编译步骤
1. 需要配置 node-gyp 环境,这个可以自行搜索一下。
2. yarn install 安装依赖。
3. node-gyp rebuild --arch=x64 或 node-gyp rebuild --arch=ia32 编译64位或32位DLL。
4. yarn electron:serve 本地运行项目。
5. yarn electron:build 打包项目打包64位和32位的时候需要分两次打包将 vue.config.js 配置中的 pluginOptions.electronBuilder.builderOptions.win.target.arch 修改为x64或者ia32。
# 官网
[dawnlauncher.com](https://dawnlauncher.com/)
# 捐赠