parent
153840199e
commit
b4cbea50bb
6 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue