diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e53d909..b1318a17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,11 +10,14 @@ and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2 - Added "Config" Shared Model Folder option for Fooocus ### Changed - (Internal) Updated to Avalonia 11.0.7 +- Changed the Close button on the package install dialog to "Hide" + - Functionality remains the same, just a name change - Updated French translation (thanks Greg!) ### Fixed - Webp static images can now be shown alongside existing webp animation support - Fixed image gallery arrow key navigation requiring clicking before responding - Fixed crash when loading extensions list with no internet connection +- Fixed crash when invalid launch arguments are passed ## v2.8.0-pre.2 ### Added diff --git a/StabilityMatrix.Avalonia/Languages/Resources.Designer.cs b/StabilityMatrix.Avalonia/Languages/Resources.Designer.cs index 48cea020..1d7ad737 100644 --- a/StabilityMatrix.Avalonia/Languages/Resources.Designer.cs +++ b/StabilityMatrix.Avalonia/Languages/Resources.Designer.cs @@ -221,6 +221,15 @@ namespace StabilityMatrix.Avalonia.Languages { } } + /// + /// Looks up a localized string similar to Hide. + /// + public static string Action_Hide { + get { + return ResourceManager.GetString("Action_Hide", resourceCulture); + } + } + /// /// Looks up a localized string similar to Import. /// diff --git a/StabilityMatrix.Avalonia/Languages/Resources.resx b/StabilityMatrix.Avalonia/Languages/Resources.resx index 9a64e94f..8015e2d8 100644 --- a/StabilityMatrix.Avalonia/Languages/Resources.resx +++ b/StabilityMatrix.Avalonia/Languages/Resources.resx @@ -936,4 +936,7 @@ No extensions found. + + Hide + diff --git a/StabilityMatrix.Avalonia/Program.cs b/StabilityMatrix.Avalonia/Program.cs index 40d8531c..5e7d7336 100644 --- a/StabilityMatrix.Avalonia/Program.cs +++ b/StabilityMatrix.Avalonia/Program.cs @@ -65,7 +65,7 @@ public static class Program } }); - Args = parseResult.Value; + Args = parseResult.Value ?? new AppArgs(); if (Args.HomeDirectoryOverride is { } homeDir) { diff --git a/StabilityMatrix.Avalonia/Views/Dialogs/PackageModificationDialog.axaml b/StabilityMatrix.Avalonia/Views/Dialogs/PackageModificationDialog.axaml index cb4de0be..f7668499 100644 --- a/StabilityMatrix.Avalonia/Views/Dialogs/PackageModificationDialog.axaml +++ b/StabilityMatrix.Avalonia/Views/Dialogs/PackageModificationDialog.axaml @@ -51,7 +51,7 @@ IsVisible="{Binding !HideCloseButton}" Margin="4" Content="{x:Static lang:Resources.Label_CloseDialogWhenFinished}"/> -