|
|
@@ -311,7 +311,7 @@ namespace Ryujinx.Modules
|
|
|
catch (Exception e)
|
|
|
{
|
|
|
Logger.Warning?.Print(LogClass.Application, e.Message);
|
|
|
- Logger.Warning?.Print(LogClass.Application, $"Multi-Threaded update failed, falling back to single-threaded updater.");
|
|
|
+ Logger.Warning?.Print(LogClass.Application, "Multi-Threaded update failed, falling back to single-threaded updater.");
|
|
|
|
|
|
DoUpdateWithSingleThread(updateDialog, downloadUrl, updateFile);
|
|
|
|
|
|
@@ -327,8 +327,8 @@ namespace Ryujinx.Modules
|
|
|
catch (WebException ex)
|
|
|
{
|
|
|
Logger.Warning?.Print(LogClass.Application, ex.Message);
|
|
|
- Logger.Warning?.Print(LogClass.Application, $"Multi-Threaded update failed, falling back to single-threaded updater.");
|
|
|
-
|
|
|
+ Logger.Warning?.Print(LogClass.Application, "Multi-Threaded update failed, falling back to single-threaded updater.");
|
|
|
+
|
|
|
for (int j = 0; j < webClients.Count; j++)
|
|
|
{
|
|
|
webClients[j].CancelAsync();
|
|
|
@@ -567,7 +567,14 @@ namespace Ryujinx.Modules
|
|
|
#else
|
|
|
if (showWarnings)
|
|
|
{
|
|
|
- GtkDialog.CreateWarningDialog("Updater Disabled!", "Please download Ryujinx at https://ryujinx.org/ if you are looking for a supported version.");
|
|
|
+ if (ReleaseInformations.IsFlatHubBuild())
|
|
|
+ {
|
|
|
+ GtkDialog.CreateWarningDialog("Updater Disabled!", "Please update Ryujinx via FlatHub.");
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ GtkDialog.CreateWarningDialog("Updater Disabled!", "Please download Ryujinx at https://ryujinx.org/ if you are looking for a supported version.");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
return false;
|