mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-19 00:02:00 +00:00
Ava: Fix Updater crashing on Linux (#4457)
This commit is contained in:
parent
c3a5716a95
commit
1f8d66db7c
1 changed files with 5 additions and 0 deletions
|
@ -506,6 +506,11 @@ namespace Ryujinx.Modules
|
||||||
|
|
||||||
Dispatcher.UIThread.Post(() =>
|
Dispatcher.UIThread.Post(() =>
|
||||||
{
|
{
|
||||||
|
if (tarEntry is null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
taskDialog.SetProgressBarState(GetPercentage(tarEntry.Size, inStream.Length), TaskDialogProgressState.Normal);
|
taskDialog.SetProgressBarState(GetPercentage(tarEntry.Size, inStream.Length), TaskDialogProgressState.Normal);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue