mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-06 07:06:00 +00:00
Fix update loop between release (#1465)
This commit is contained in:
parent
cfa242ef5d
commit
496079b620
|
@ -145,7 +145,9 @@ void CheckUpdate::CheckForUpdates(const bool showMessage) {
|
|||
return;
|
||||
}
|
||||
|
||||
QString currentRev = QString::fromStdString(Common::g_scm_rev).left(7);
|
||||
QString currentRev = (updateChannel == "Nightly")
|
||||
? QString::fromStdString(Common::g_scm_rev).left(7)
|
||||
: "v." + QString::fromStdString(Common::VERSION);
|
||||
QString currentDate = Common::g_scm_date;
|
||||
|
||||
QDateTime dateTime = QDateTime::fromString(latestDate, Qt::ISODate);
|
||||
|
|
Loading…
Reference in a new issue