fix: 🐛 修复 linux 打包后图标丢失的问题

This commit is contained in:
viarotel 2023-10-25 01:05:42 +08:00
parent 8b8d39197a
commit 217d82d03e
8 changed files with 5 additions and 3 deletions

View File

@ -6,9 +6,9 @@
"output": "dist-release",
"buildResources": "electron/resources/build"
},
"icon": "logo",
"files": ["dist", "dist-electron"],
"win": {
"icon": "logo.ico",
"target": [
{
"target": "nsis",
@ -43,6 +43,7 @@
"requestExecutionLevel": "user"
},
"mac": {
"icon": "logo.icns",
"target": [
{
"target": "dmg",
@ -70,6 +71,7 @@
"hardenedRuntime": false
},
"linux": {
"icon": "logo.icns",
"desktop": "logo",
"maintainer": "viarotel@qq.com",
"category": "Utility",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 710 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -1,8 +1,8 @@
import { createI18n } from 'vue-i18n'
import messages from '@intlify/unplugin-vue-i18n/messages'
// const locale = window.electron?.process?.env?.LOCALE
const locale = 'en_US'
const locale = window.electron?.process?.env?.LOCALE
// const locale = 'en_US'
// console.log('locale', locale)