1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

Linux: disable update check at startup if not running from AppImage

This commit is contained in:
Nekotekina 2019-11-04 19:08:27 +03:00
parent da135fbfcc
commit 1f9250e39a

View File

@ -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");