We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88abbf4 commit e10e5c7Copy full SHA for e10e5c7
src/main.rs
@@ -50,7 +50,7 @@ struct Versions {
50
51
fn outdated_version_check(message: String) {
52
let edition_tag = fs::read_to_string("/etc/edition-tag").unwrap_or("desktop".to_string());
53
- let version_tag = fs::read_to_string("/etc/version-tag").unwrap_or_default();
+ let version_tag = fs::read_to_string("/etc/version-tag").unwrap_or_default().trim().to_string();
54
55
let window_ref = unsafe { &G_HELLO_WINDOW.as_ref().unwrap().window };
56
0 commit comments