Browse Source

Fix crash when invalid launch args passed & change Close button to Hide since that's what it does

pull/438/head
JT 10 months ago
parent
commit
15a09d2f81
  1. 3
      CHANGELOG.md
  2. 9
      StabilityMatrix.Avalonia/Languages/Resources.Designer.cs
  3. 3
      StabilityMatrix.Avalonia/Languages/Resources.resx
  4. 2
      StabilityMatrix.Avalonia/Program.cs
  5. 2
      StabilityMatrix.Avalonia/Views/Dialogs/PackageModificationDialog.axaml

3
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

9
StabilityMatrix.Avalonia/Languages/Resources.Designer.cs generated

@ -221,6 +221,15 @@ namespace StabilityMatrix.Avalonia.Languages {
}
}
/// <summary>
/// Looks up a localized string similar to Hide.
/// </summary>
public static string Action_Hide {
get {
return ResourceManager.GetString("Action_Hide", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Import.
/// </summary>

3
StabilityMatrix.Avalonia/Languages/Resources.resx

@ -936,4 +936,7 @@
<data name="Label_NoExtensionsFound" xml:space="preserve">
<value>No extensions found.</value>
</data>
<data name="Action_Hide" xml:space="preserve">
<value>Hide</value>
</data>
</root>

2
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)
{

2
StabilityMatrix.Avalonia/Views/Dialogs/PackageModificationDialog.axaml

@ -51,7 +51,7 @@
IsVisible="{Binding !HideCloseButton}"
Margin="4" Content="{x:Static lang:Resources.Label_CloseDialogWhenFinished}"/>
<Button Grid.Row="5" Content="{x:Static lang:Resources.Action_Close}"
<Button Grid.Row="5" Content="{x:Static lang:Resources.Action_Hide}"
FontSize="20"
HorizontalAlignment="Center"
IsVisible="{Binding !HideCloseButton}"

Loading…
Cancel
Save