Unverified Commit 31ea9f4a authored by Sam Pickering's avatar Sam Pickering
Browse files

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.
parent 2a3eb059
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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