fastmail-desktop: fix URL scheme handling on Linux

The Fastmail desktop app is registered as a scheme handler for
fastmail://. The %U in the original Exec command is necessary to pass
handled URLs to the app.
This commit is contained in:
Sam Pickering
2026-02-14 19:39:57 +00:00
parent 2a3eb05933
commit 31ea9f4ab2
+1 -1
View File
@@ -57,7 +57,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
install -D "${appimageContents}/production.desktop" "$out/share/applications/fastmail.desktop"
substituteInPlace "$out/share/applications/fastmail.desktop" \
--replace-fail "Exec=AppRun --no-sandbox %U" "Exec=fastmail" \
--replace-fail "Exec=AppRun --no-sandbox %U" "Exec=fastmail %U" \
--replace-fail "Icon=production" "Icon=fastmail" \
for res in 16 24 32 48 64 128 256 512 1024; do