Skip to content

Commit

Permalink
fix: 🐛 修复 linux 打包后图标丢失的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Oct 24, 2023
1 parent 8b8d391 commit 217d82d
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"output": "dist-release",
"buildResources": "electron/resources/build"
},
"icon": "logo",
"files": ["dist", "dist-electron"],
"win": {
"icon": "logo.ico",
"target": [
{
"target": "nsis",
Expand Down Expand Up @@ -43,6 +43,7 @@
"requestExecutionLevel": "user"
},
"mac": {
"icon": "logo.icns",
"target": [
{
"target": "dmg",
Expand Down Expand Up @@ -70,6 +71,7 @@
"hardenedRuntime": false
},
"linux": {
"icon": "logo.icns",
"desktop": "logo",
"maintainer": "[email protected]",
"category": "Utility",
Expand Down
Binary file removed electron/resources/build/[email protected]
Binary file not shown.
Binary file removed electron/resources/build/[email protected]
Binary file not shown.
Binary file removed electron/resources/build/[email protected]
Binary file not shown.
Binary file removed electron/resources/build/[email protected]
Binary file not shown.
Binary file removed electron/resources/build/[email protected]
Binary file not shown.
Binary file removed electron/resources/build/[email protected]
Binary file not shown.
4 changes: 2 additions & 2 deletions src/locales/index.js
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

0 comments on commit 217d82d

Please sign in to comment.