Skip to content

Commit 58e5592

Browse files
committed
修复构建
1 parent 02cc842 commit 58e5592

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

build-config/build-pack.js

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,18 @@ const linuxOptions = {
8282
icon: './resources/icons',
8383
category: 'Utility;AudioVideo;Audio;Player;Music;',
8484
desktop: {
85-
Name: 'LX Music',
86-
'Name[zh_CN]': 'LX Music',
87-
'Name[zh_TW]': 'LX Music',
88-
Encoding: 'UTF-8',
89-
MimeType: 'x-scheme-handler/lxmusic',
90-
StartupNotify: 'false',
85+
// https://www.electron.build/app-builder-lib.interface.linuxdesktopfile
86+
// https://www.electronjs.org/docs/latest/tutorial/linux-desktop-actions
87+
// https://specifications.freedesktop.org/desktop-entry-spec/latest/example.html
88+
// https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files
89+
entry: {
90+
Name: 'LX Music',
91+
'Name[zh_CN]': 'LX Music',
92+
'Name[zh_TW]': 'LX Music',
93+
Encoding: 'UTF-8',
94+
MimeType: 'x-scheme-handler/lxmusic',
95+
StartupNotify: 'false',
96+
},
9197
},
9298
},
9399
appImage: {

0 commit comments

Comments
 (0)