Browse Source

Ignore missing library dir on save of launch page load transaction

- Fixes crash due to missing LibraryDir
pull/55/head
Ionite 1 year ago
parent
commit
d3bad6d130
No known key found for this signature in database
  1. 5
      StabilityMatrix.Avalonia/ViewModels/LaunchPageViewModel.cs

5
StabilityMatrix.Avalonia/ViewModels/LaunchPageViewModel.cs

@ -113,7 +113,10 @@ public partial class LaunchPageViewModel : PageViewModelBase, IDisposable
public override void OnLoaded() public override void OnLoaded()
{ {
// Ensure active package either exists or is null // Ensure active package either exists or is null
settingsManager.Transaction(s => s.UpdateActiveInstalledPackage()); settingsManager.Transaction(s =>
{
s.UpdateActiveInstalledPackage();
}, ignoreMissingLibraryDir: true);
// Load installed packages // Load installed packages
InstalledPackages = InstalledPackages =

Loading…
Cancel
Save