Fix icon size on Windows (#34277)

Closes #34122

Release Notes:

- N/A
This commit is contained in:
localcc 2025-07-11 15:09:10 +02:00 committed by GitHub
parent 153840199e
commit b4cbea50bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 3 additions and 3 deletions

View file

@ -50,12 +50,12 @@ fn main() {
println!("cargo:rustc-link-arg=/stack:{}", 8 * 1024 * 1024); println!("cargo:rustc-link-arg=/stack:{}", 8 * 1024 * 1024);
} }
let release_channel = option_env!("RELEASE_CHANNEL").unwrap_or("nightly"); let release_channel = option_env!("RELEASE_CHANNEL").unwrap_or("dev");
let icon = match release_channel { let icon = match release_channel {
"stable" => "resources/windows/app-icon.ico", "stable" => "resources/windows/app-icon.ico",
"preview" => "resources/windows/app-icon-preview.ico", "preview" => "resources/windows/app-icon-preview.ico",
"nightly" => "resources/windows/app-icon-nightly.ico", "nightly" => "resources/windows/app-icon-nightly.ico",
"dev" => "resources/windows/app-icon-dev.ico",
_ => "resources/windows/app-icon-dev.ico", _ => "resources/windows/app-icon-dev.ico",
}; };
let icon = std::path::Path::new(icon); let icon = std::path::Path::new(icon);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 KiB

After

Width:  |  Height:  |  Size: 154 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 182 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 KiB

After

Width:  |  Height:  |  Size: 159 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 577 KiB

After

Width:  |  Height:  |  Size: 162 KiB

Before After
Before After

View file

@ -167,7 +167,7 @@ function BuildInstaller {
} }
"dev" { "dev" {
$appId = "{{8357632E-24A4-4F32-BA97-E575B4D1FE5D}" $appId = "{{8357632E-24A4-4F32-BA97-E575B4D1FE5D}"
$appIconName = "app-icon-nightly" $appIconName = "app-icon-dev"
$appName = "Zed Dev" $appName = "Zed Dev"
$appDisplayName = "Zed Dev" $appDisplayName = "Zed Dev"
$appSetupName = "ZedEditorUserSetup-x64-$env:RELEASE_VERSION-dev" $appSetupName = "ZedEditorUserSetup-x64-$env:RELEASE_VERSION-dev"