Enable file associations on linux

Add " %F" to the Exec parameter in the rpi-imager.desktop file so that
Linux desktop environments know that rpi-imager can be used to open
files.  After this change, Imager appears within the list of "Open With"
applications in GNOME, and you can set it so double-clicking image files
always opens rpi-imager.
This commit is contained in:
David Turner 2023-10-04 14:50:40 +01:00
parent 63124443c3
commit 249e910c06

View file

@ -4,6 +4,6 @@ Version=1.0
Name=Imager Name=Imager
Comment=Raspberry Pi Imager Comment=Raspberry Pi Imager
Icon=rpi-imager Icon=rpi-imager
Exec=rpi-imager Exec=rpi-imager %F
Categories=Utility Categories=Utility
StartupNotify=false StartupNotify=false