chore: 打包配置 — NSIS 安装包 + WebView2Loader.dll
This commit is contained in:
+3
-2
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user