chore: 打包配置 — NSIS 安装包 + WebView2Loader.dll

This commit is contained in:
2026-06-17 08:39:41 +08:00
parent 7bad07344d
commit a46144f4dc
4 changed files with 133 additions and 4 deletions
+3 -2
View File
@@ -4,7 +4,7 @@
"version": "0.1.0",
"identifier": "com.liuhangyu.qrgen",
"build": {
"frontendDist": "../src-frontend/dist",
"frontendDist": "src-frontend/dist",
"devUrl": "http://localhost:1420",
"beforeDevCommand": "cd src-frontend && pnpm dev",
"beforeBuildCommand": "cd src-frontend && pnpm build"
@@ -31,7 +31,8 @@
},
"bundle": {
"active": true,
"targets": "all",
"targets": "nsis",
"resources": ["WebView2Loader.dll"],
"icon": [
"icons/32x32.png",
"icons/128x128.png",