aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-05-13 21:33:41 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-05-13 21:33:41 -0500
commit7133cf6308fb5c1c156bae9f182a1dafcb11f715 (patch)
tree17732e68f7a647c88a3d007b294a535a2d788217 /data
parentbe37c33b6657060232555d17386557145f3b6666 (diff)
nxm: stop launcher .desktop from claiming nxm:// + clear stale portal pick
The Fluorine Manager launcher .desktop declared MimeType=x-scheme-handler/nxm;x-scheme-handler/modl;, advertising itself as a handler alongside the real mo2-nxm-handler.desktop. The launcher's Exec line has no %u, so when xdg-desktop-portal launched it the URL was dropped and MO2 came up with no args — which then hit the "instance already running" path against the live primary. Drop the bad MimeType from both the tarball template (data/icons/) and the .bin installer's inline desktop entry in docker/build-inner.sh. That alone fixes new installs, but xdg-desktop-portal remembers user picks in its permission store: anyone who'd already selected Fluorine Manager in the chooser dialog had it stuck as their always-use app (count=3/3 = silent always-launch), and the bad pick survived removing the MimeType. On startup the nxm handler now fires a DBus DeletePermission against PermissionStore for com.fluorine.manager on both schemes, so existing users self-heal on the next launch. The call is fire-and-forget — a missing entry is the expected steady state. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'data')
-rw-r--r--data/icons/com.fluorine.manager.desktop1
1 files changed, 0 insertions, 1 deletions
diff --git a/data/icons/com.fluorine.manager.desktop b/data/icons/com.fluorine.manager.desktop
index 5d85cf8..fbe4d30 100644
--- a/data/icons/com.fluorine.manager.desktop
+++ b/data/icons/com.fluorine.manager.desktop
@@ -8,7 +8,6 @@ Icon=com.fluorine.manager
Terminal=false
Categories=Game;Utility;
Keywords=mod;organizer;modding;skyrim;fallout;
-MimeType=x-scheme-handler/nxm;x-scheme-handler/modl;
Actions=create-portable;list-instances;
[Desktop Action create-portable]