mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 04:38:04 -06:00
Add alternative URL for program update checking
The alternative URL is hosted on GitHub and users are able to access it: https://github.com/qbittorrent/qBittorrent/issues/23000#issuecomment-3092538814 https://github.com/qbittorrent/qBittorrent/issues/23009#issuecomment-3093201180 Also, disguise the user agent as a normal browser to avoid standing out from the crowd and avoid whatever issues from CDN. This only applies to non-fosshub URLs. Closes #23000. Closes #23009. PR #23014.
This commit is contained in:
@@ -1662,7 +1662,7 @@ void MainWindow::handleUpdateCheckFinished(ProgramUpdater *updater, const bool i
|
||||
updater->deleteLater();
|
||||
};
|
||||
|
||||
const auto newVersion = updater->getNewVersion();
|
||||
const ProgramUpdater::Version newVersion = updater->getNewVersion();
|
||||
if (newVersion.isValid())
|
||||
{
|
||||
const QString msg {tr("A new version is available.") + u"<br/>"
|
||||
|
||||
Reference in New Issue
Block a user