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

@ -138,6 +138,7 @@ fi
# mkdir -p "${zed_dir}/share/applications"
# envsubst <"crates/zed/resources/zed.desktop.in" >"${zed_dir}/share/applications/zed$suffix.desktop"
# chmod +x "${zed_dir}/share/applications/zed$suffix.desktop"
# Copy generated licenses so they'll end up in archive too
# cp "assets/licenses.md" "${zed_dir}/licenses.md"

View file

@ -179,6 +179,7 @@ fi
mkdir -p "${zed_dir}/share/applications"
envsubst < "crates/zed/resources/zed.desktop.in" > "${zed_dir}/share/applications/zed$suffix.desktop"
chmod +x "${zed_dir}/share/applications/zed$suffix.desktop"
# Copy generated licenses so they'll end up in archive too
cp "assets/licenses.md" "${zed_dir}/licenses.md"