Open francisdb opened 1 year ago
Messed a bit with .desktop
files but no success. It creates a launcher but does not pick up anything launched from console / an other app.
[Desktop Entry]
Name=VPinball
Exec=/home/francisdb/workspace/somatik/vpinball/build/VPinballX_GL "-play" "/home/francisdb/vpinball/tables/Cirqus Voltaire (Bally 1997) VPW Mod v1.0.vpx" "-DisableTrueFullscreen" %u
Version=1.0
Type=Application
Categories=Development;IDE;
Terminal=true
Icon=/home/francisdb/.local/share/JetBrains/Toolbox/apps/clion/bin/clion.svg
~/.local/share/applications/vpinball.desktop
gio set vpinball.desktop "metadata::trusted" yes
gio launch vpinball.desktop
sudo update-desktop-database
launching this still shows the cog icon for the main window
https://wiki.libsdl.org/SDL2/SDL_SetWindowIcon
Did read that some specific formats might be required
https://github.com/vpinball/vpinball/blob/master/res/vpinball.ico
We just added support for VPX being a real MacOS application. In MacOS it was definitely not as simple as using SDL_SetWindowIcon
.
If someone could really dig into the Linux side it would be appreciated.
This is on gnome
This on mac