dont check for update with flatpak (#713)

This commit is contained in:
Logan McNaughton 2026-04-07 11:42:07 -06:00 committed by GitHub
parent 11cb242ed2
commit 54d82713ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -294,7 +294,9 @@ fn about_window(app: &AppWindow) {
open::that_detached("https://github.com/gopher64/gopher64/releases/latest").unwrap();
});
app.set_version(format!("Version: {}", env!("CARGO_PKG_VERSION")).into());
check_latest_version(app.as_weak());
if std::env::var("FLATPAK_ID").is_err() {
check_latest_version(app.as_weak());
}
}
pub fn app_window() {