Installer option to have a bottle handle a mime-type #1294
Labels
Feature request
Requires evaluation
a feature that requires further evaluation to be accepted or rejected
The Freedesktop standard allows a .desktop file to "handle" a particular MimeType (file type or URL scheme). For example, various mod managers handle the
nxm://
URLs used by nexus mods.While an installer could create a .desktop file using a
script
action, it'd be nice to have a managed way of handling this. This could probably leverage any existing systems you have which create bottle launching .desktop files.It'd be even better if installers could make creating mime-type associations optional. For example, a checkbox during the installation wizard which asks if the user wants _XYZ bottle to handle ABC URLs systemwide _.
This would also make clean up easier too, as Bottles could remove any .desktop files associated with a bottle being uninstalled. However if the files were created by an installer's
script
this would be more difficult.The main use case I have in mind for this is a Mod Organiser 2 and/or Vortex mod manager installer, as these need to handle
nxm
links in the system browser to work as expected. However I'm sure many other programs would benefit from system wide filetype/URL association.As an example, steamtinkerlaunch installs this file when setting up Vortex
The text was updated successfully, but these errors were encountered: