feat(MINE): add <<open whit>> WIP

This commit is contained in:
BlackAngelTV committed 2026-09-28 22:21:24 +02:00
1 parent b6f51a76ff
commit f3bb6efd96
4 files changed
+124 -2

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
# Which files PacManager opens, and how.
#
# The MIME database (resources/mime/fws-pacmanager.xml) only says what a file
# *is*; it cannot choose an application. That is this file's job, and it is the
# reason installing the app is enough to make the association show up in a file
# manager -- no xdg-mime call is needed afterwards.
#
# [Default Applications] -- a double click opens the file with PacManager.
# Only the plugin packages are claimed outright: nothing else handles them, the
# type is private, and a package is useless without the application that reads
# it. The Flatpak formats are deliberately *not* here: a .flatpakref belongs to
# the Flatpak world, and stealing the double click from it would be rude to
# whoever installed flatpak.
#
# [Added Associations] -- PacManager appears in "Ouvrir avec" (and stays out of
# the default). The user picks it when they mean it; their own default set in
# the system settings keeps winning. This is what the desktop entry's MimeType
# line advertises.
#
# Both sections are additive for the types they name and touch nothing else, so
# a user's own choices in ~/.config/mimeapps.list still override them.
[Default Applications]
application/vnd.fws.pacmanager.plugin-package=org.fws.PacManager.desktop
[Added Associations]
application/vnd.flatpak.ref=org.fws.PacManager.desktop;
application/vnd.flatpak.repo=org.fws.PacManager.desktop;
application/vnd.flatpak=org.fws.PacManager.desktop;