|
|
@@ -76,7 +76,7 @@ namespace Ryujinx.Ava
|
|
|
|
|
|
if (!Version.TryParse(Program.Version, out Version currentVersion))
|
|
|
{
|
|
|
- Logger.Error?.Print(LogClass.Application, $"Failed to convert the current {App.FullAppName} version!");
|
|
|
+ Logger.Error?.Print(LogClass.Application, $"Failed to convert the current {RyujinxApp.FullAppName} version!");
|
|
|
|
|
|
await ContentDialogHelper.CreateWarningDialog(
|
|
|
LocaleManager.Instance[LocaleKeys.DialogUpdaterConvertFailedMessage],
|
|
|
@@ -159,7 +159,7 @@ namespace Ryujinx.Ava
|
|
|
|
|
|
if (!Version.TryParse(_buildVer, out Version newVersion))
|
|
|
{
|
|
|
- Logger.Error?.Print(LogClass.Application, $"Failed to convert the received {App.FullAppName} version from GitHub!");
|
|
|
+ Logger.Error?.Print(LogClass.Application, $"Failed to convert the received {RyujinxApp.FullAppName} version from GitHub!");
|
|
|
|
|
|
await ContentDialogHelper.CreateWarningDialog(
|
|
|
LocaleManager.Instance[LocaleKeys.DialogUpdaterConvertFailedGithubMessage],
|
|
|
@@ -266,7 +266,7 @@ namespace Ryujinx.Ava
|
|
|
SubHeader = LocaleManager.Instance[LocaleKeys.UpdaterDownloading],
|
|
|
IconSource = new SymbolIconSource { Symbol = Symbol.Download },
|
|
|
ShowProgressBar = true,
|
|
|
- XamlRoot = App.MainWindow,
|
|
|
+ XamlRoot = RyujinxApp.MainWindow,
|
|
|
};
|
|
|
|
|
|
taskDialog.Opened += (s, e) =>
|
|
|
@@ -490,7 +490,7 @@ namespace Ryujinx.Ava
|
|
|
bytesWritten += readSize;
|
|
|
|
|
|
taskDialog.SetProgressBarState(GetPercentage(bytesWritten, totalBytes), TaskDialogProgressState.Normal);
|
|
|
- App.SetTaskbarProgressValue(bytesWritten, totalBytes);
|
|
|
+ RyujinxApp.SetTaskbarProgressValue(bytesWritten, totalBytes);
|
|
|
|
|
|
updateFileStream.Write(buffer, 0, readSize);
|
|
|
}
|