1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-04 19:40:02 +03:00

.desktop: Add a file, and adjust icon filename to suit

1. `io.edcd.EDMarketConnector.desktop` based on the flathub one, but with
  reference to v1.5 of the spec (linked in a file comment).
2. As the Icon is specified using `io.edcd.EDMarketConnector`, not only
  `EDMarketConnector`, renamed the .png file and updated the single code
  reference to it.
This commit is contained in:
Athanasius 2023-01-10 14:04:41 +00:00
parent 596df0f987
commit 6b38de1080
No known key found for this signature in database
GPG Key ID: 772697E181BB2767
3 changed files with 14 additions and 1 deletions

View File

@ -509,7 +509,7 @@ class AppWindow(object):
else:
self.w.tk.call('wm', 'iconphoto', self.w, '-default',
tk.PhotoImage(file=join(config.respath_path, 'EDMarketConnector.png')))
tk.PhotoImage(file=join(config.respath_path, 'io.edcd.EDMarketConnector.png')))
# TODO: Export to files and merge from them in future ?
self.theme_icon = tk.PhotoImage(

View File

@ -0,0 +1,13 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
# Ref: <https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.5.html>
Version=1.5
Name=E:D Market Connector
Comment=Utilise Elite Dangerous Journal and CAPI data
Icon=io.edcd.EDMarketConnector
Categories=Game;
Keywords=Elite;Dangerous;EDDN;EDSM;EDDB;Inara;Spansh;
Exec=edmarketconnector
Terminal=false
SingleMainWindow=true

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB