linux: Make desktop file executable (#35597)

Closes https://github.com/zed-industries/zed/issues/35545

Release Notes:

- linux: Improved support for `zed://` urls on Linux
This commit is contained in:
Peter Tripp 2025-08-04 15:35:19 -04:00 committed by GitHub
parent 6e77c6a5ef
commit 3df5394a8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 2 deletions

View file

@ -298,6 +298,7 @@ craneLib.buildPackage (
export APP_ARGS="%U"
mkdir -p "$out/share/applications"
${lib.getExe envsubst} < "crates/zed/resources/zed.desktop.in" > "$out/share/applications/dev.zed.Zed-Nightly.desktop"
chmod +x "$out/share/applications/dev.zed.Zed-Nightly.desktop"
)
runHook postInstall