chore(build): 更新应用配置和图标资源

- 更新 .gitignore 文件配置
- 修改 electron-builder.js 构建配置
- 添加应用图标资源文件
This commit is contained in:
ApplePine 2025-07-02 13:17:17 +08:00
parent 3648f46181
commit 2582645ffa
7 changed files with 6 additions and 4 deletions

3
.gitignore vendored
View File

@ -6,4 +6,5 @@ release/
node_modules/
dist/
build/
*.lock
*.lock
.DS_Store

View File

@ -11,7 +11,7 @@ export default {
{ target: 'zip', arch: ['arm64', 'x64'] },
{ target: 'dmg', arch: ['arm64', 'x64'] },
],
icon: 'src/assets/icons/icon.icns',
icon: 'public/icons/mac.icns',
artifactName: 'findyourfile-${version}-mac-${arch}.${ext}',
category: 'public.app-category.productivity',
hardenedRuntime: false,
@ -22,7 +22,7 @@ export default {
{ target: 'zip', arch: ['x64'] },
{ target: 'nsis', arch: ['x64'] },
],
icon: 'src/assets/icons/icon.ico',
icon: 'public/icons/win.ico',
artifactName: 'findyourfile-${version}-win-x64.${ext}',
},
nsis: {

View File

@ -26,7 +26,7 @@
"echarts": "^5.5.0",
"element-plus": "^2.8.0",
"pinia": "^2.0.0",
"sqlite3": "^5.1.0",
"sqlite3": "^5.1.7",
"vue": "^3.4.0",
"vue-echarts": "^7.0.0",
"vue-router": "^4.0.0"

BIN
public/icons/favicon.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
public/icons/mac.icns Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

BIN
public/icons/win.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

View File

@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="./icons/favicon.jpeg">
<title>文件位置查询</title>
</head>
<body>