Skip to content

Commit b683b32

Browse files
committed
chore: 添加 Linux 构建图标并更新构建配置
1 parent 5f9add8 commit b683b32

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

electron-builder.json5

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@
3232
linux: {
3333
target: ["AppImage"],
3434
artifactName: "${productName}-Linux-${version}.${ext}",
35+
"icon": "public/icon/icon.png",
3536
},
3637
}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,7 @@
4040
"vue-tsc": "^2.0.26"
4141
},
4242
"main": "dist-electron/main.js",
43-
"build-icon": "electron-icon-builder --input=./public/icon.svg --output=public/icon --flatten"
43+
"build": {
44+
"publish": null
45+
}
4446
}

0 commit comments

Comments
 (0)