diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-05-13 21:33:41 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-05-13 21:33:41 -0500 |
| commit | 7133cf6308fb5c1c156bae9f182a1dafcb11f715 (patch) | |
| tree | 17732e68f7a647c88a3d007b294a535a2d788217 /docker | |
| parent | be37c33b6657060232555d17386557145f3b6666 (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 'docker')
| -rwxr-xr-x | docker/build-inner.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/docker/build-inner.sh b/docker/build-inner.sh index 8a4f9cb..cd6c3e1 100755 --- a/docker/build-inner.sh +++ b/docker/build-inner.sh @@ -618,7 +618,6 @@ Icon=com.fluorine.manager Terminal=false Categories=Game;Utility; StartupWMClass=ModOrganizer -MimeType=x-scheme-handler/nxm;x-scheme-handler/nxm-hierarchical; DESKTOP_EOF chmod +x "${DESKTOP_DIR}/com.fluorine.manager.desktop" |
