Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
zed.desktop.in: Don't hardcode executable name due to binary conflicts (#12951)
Joey Richesf780504b6818
diff --git a/crates/zed/resources/zed.desktop.in b/crates/zed/resources/zed.desktop.inindex 45295c5a9de..9b85cb5436a 100644--- a/crates/zed/resources/zed.desktop.in+++ b/crates/zed/resources/zed.desktop.in@@ -4,9 +4,9 @@ Type=ApplicationName=$APP_NAMEGenericName=Text EditorComment=A high-performance, multiplayer code editor.-TryExec=zed+TryExec=$APP_CLIStartupNotify=$DO_STARTUP_NOTIFY-Exec=zed $APP_ARGS+Exec=$APP_CLI $APP_ARGSIcon=$APP_ICONCategories=Utility;TextEditor;Development;IDE;Keywords=zed;diff --git a/script/bundle-linux b/script/bundle-linuxindex 25eb97093bb..60a83d8aff5 100755--- a/script/bundle-linux+++ b/script/bundle-linux@@ -80,6 +80,7 @@ cp "crates/zed/resources/[email protected]" "${zed_dir}/share/icons/hicolor# .desktopexport DO_STARTUP_NOTIFY="true"+export APP_CLI="zed"export APP_ICON="zed"if [[ "$channel" == "preview" ]]; thenexport APP_NAME="Zed Preview"diff --git a/script/flatpak/bundle-flatpak b/script/flatpak/bundle-flatpakindex effaa7bdfa8..934ad952c54 100755--- a/script/flatpak/bundle-flatpak+++ b/script/flatpak/bundle-flatpak@@ -11,6 +11,7 @@ channel=$(<crates/zed/RELEASE_CHANNEL)export CHANNEL="$channel"export ARCHIVE="$archive"+export APP_CLI = "zed"if [[ "$channel" == "dev" ]]; thenexport APP_ID="dev.zed.Zed-Dev"export APP_NAME="Zed Devel"