mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-23 12:35:32 +00:00
Ava: Fix Updater crashing on Linux (#4457)
This commit is contained in:
parent
c3a5716a95
commit
1f8d66db7c
|
@ -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