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);
}
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 {
"stable" => "resources/windows/app-icon.ico",
"preview" => "resources/windows/app-icon-preview.ico",
"nightly" => "resources/windows/app-icon-nightly.ico",
"dev" => "resources/windows/app-icon-dev.ico",
_ => "resources/windows/app-icon-dev.ico",
};
let icon = std::path::Path::new(icon);