AutoLoad DLC/updates #12

Merged
J-Swift merged 38 commits from feature/auto-load-extra-files into master 2024-10-08 01:08:41 +00:00
7 changed files with 43 additions and 40 deletions
Showing only changes of commit 47e2cc6f02 - Show all commits

View File

@ -837,7 +837,8 @@ namespace Ryujinx.UI.App.Common
{
EnumerationOptions options = new()
{
RecurseSubdirectories = true, IgnoreInaccessible = false,
RecurseSubdirectories = true,
IgnoreInaccessible = false,
};
IEnumerable<string> files = Directory.EnumerateFiles(appDir, "*", options).Where(
@ -943,7 +944,8 @@ namespace Ryujinx.UI.App.Common
{
EnumerationOptions options = new()
{
RecurseSubdirectories = true, IgnoreInaccessible = false,
RecurseSubdirectories = true,
IgnoreInaccessible = false,
};
IEnumerable<string> files = Directory.EnumerateFiles(appDir, "*", options)

View File

@ -175,7 +175,8 @@ namespace Ryujinx.Ava.UI.ViewModels
Dispatcher.UIThread.InvokeAsync(() => SelectedUpdate = titleUpdate);
}
}
} catch (Exception ex)
}
catch (Exception ex)
{
Dispatcher.UIThread.InvokeAsync(() => ContentDialogHelper.CreateErrorDialog(LocaleManager.Instance.UpdateAndGetDynamicValue(LocaleKeys.DialogLoadFileErrorMessage, ex.Message, path)));
}