mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-05 15:56:49 +00:00
Linux: disable update check at startup if not running from AppImage
This commit is contained in:
parent
da135fbfcc
commit
1f9250e39a
@ -33,6 +33,14 @@ update_manager::update_manager()
|
|||||||
|
|
||||||
void update_manager::check_for_updates(bool automatic, QWidget* parent)
|
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)
|
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");
|
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");
|
||||||
|
Loading…
Reference in New Issue
Block a user