From 1f9250e39ae4d1bcb6317afe2d88286b46381d68 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Mon, 4 Nov 2019 19:08:27 +0300 Subject: [PATCH] Linux: disable update check at startup if not running from AppImage --- rpcs3/rpcs3qt/update_manager.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rpcs3/rpcs3qt/update_manager.cpp b/rpcs3/rpcs3qt/update_manager.cpp index 6ac4e75ad7..d2aee1c6f2 100644 --- a/rpcs3/rpcs3qt/update_manager.cpp +++ b/rpcs3/rpcs3qt/update_manager.cpp @@ -33,6 +33,14 @@ update_manager::update_manager() void update_manager::check_for_updates(bool automatic, QWidget* parent) { +#ifdef __linux__ + if (automatic && !::getenv("APPIMAGE")) + { + // Don't check for updates on startup if RPCS3 is not running from an AppImage. + return; + } +#endif + if (QSslSocket::supportsSsl() == false) { LOG_ERROR(GENERAL, "Unable to update RPCS3!Please make sure your system supports SSL. Visit our quickstart guide for more information: https://rpcs3.net/quickstart");