zed-editor: fix 2x icon path

While the input icon filename has a "@2x" suffix, the expected path for
high DPI icons uses "@2", as per https://specifications.freedesktop.org/icon-theme/latest/.
This commit is contained in:
Niklas Korz
2026-04-15 16:47:13 +02:00
parent fb455eda6c
commit e6dc712a58
+1 -1
View File
@@ -256,7 +256,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
install -Dm755 $release_target/zed $out/libexec/zed-editor
install -Dm755 $release_target/cli $out/bin/zeditor
install -Dm644 $src/crates/zed/resources/app-icon@2x.png $out/share/icons/hicolor/512x512@2x/apps/zed.png
install -Dm644 $src/crates/zed/resources/app-icon@2x.png $out/share/icons/hicolor/512x512@2/apps/zed.png
install -Dm644 $src/crates/zed/resources/app-icon.png $out/share/icons/hicolor/512x512/apps/zed.png
# extracted from https://github.com/zed-industries/zed/blob/v0.141.2/script/bundle-linux (envsubst)