mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-28 17:37:11 +02:00
Ava: Fix Updater crashing on Linux (#4457)
This commit is contained in:
parent
fb9141c4c5
commit
25dd7e6618
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…
Add table
Add a link
Reference in a new issue