scp-fs2open / wxLauncher

wxLauncher
Other
26 stars 12 forks source link

On freedesktop systems, install an icon to the standard location and use it #172

Closed MageJohn closed 1 year ago

MageJohn commented 1 year ago

The freedesktop Desktop Entry Specification allows an icon to be specified as a relative name, in which case the icon will be looked up using the algorithm described in the Icon Theme Specification. This algorithm always falls back on the hicolor theme, which means that third party applications can install an icon in that theme directory to get a system wide icon that users can easily override in their own themes if they want to.

In this PR I install the wxLauncher icon into the hicolor theme, and change the desktop file to use a relative icon name. This helps wxLauncher to integrate more gracefully into a freedesktop compliant environment.