mirror of
https://github.com/gopher64/gopher64.git
synced 2026-11-16 02:49:38 +01:00
dont check for update with flatpak (#713)
This commit is contained in:
1 parent
11cb242ed2
commit
54d82713ac
1 file changed
+3
-1
+3
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user