Skip to content

Commit

Permalink
修复构建
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed Dec 7, 2024
1 parent 02cc842 commit 58e5592
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions build-config/build-pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,18 @@ const linuxOptions = {
icon: './resources/icons',
category: 'Utility;AudioVideo;Audio;Player;Music;',
desktop: {
Name: 'LX Music',
'Name[zh_CN]': 'LX Music',
'Name[zh_TW]': 'LX Music',
Encoding: 'UTF-8',
MimeType: 'x-scheme-handler/lxmusic',
StartupNotify: 'false',
// https://www.electron.build/app-builder-lib.interface.linuxdesktopfile
// https://www.electronjs.org/docs/latest/tutorial/linux-desktop-actions
// https://specifications.freedesktop.org/desktop-entry-spec/latest/example.html
// https://developer.gnome.org/documentation/guidelines/maintainer/integrating.html#desktop-files
entry: {
Name: 'LX Music',
'Name[zh_CN]': 'LX Music',
'Name[zh_TW]': 'LX Music',
Encoding: 'UTF-8',
MimeType: 'x-scheme-handler/lxmusic',
StartupNotify: 'false',
},
},
},
appImage: {
Expand Down

0 comments on commit 58e5592

Please sign in to comment.