From cfe0d076d9e323cfc2a4c5c9e3b45061ffa92730 Mon Sep 17 00:00:00 2001 From: Ionite Date: Wed, 20 Sep 2023 13:27:22 -0400 Subject: [PATCH 1/3] Add LSDR and Adetailer shared folders for A1111 --- StabilityMatrix.Core/Models/Packages/A3WebUI.cs | 2 ++ StabilityMatrix.Core/Models/SharedFolderType.cs | 1 + 2 files changed, 3 insertions(+) diff --git a/StabilityMatrix.Core/Models/Packages/A3WebUI.cs b/StabilityMatrix.Core/Models/Packages/A3WebUI.cs index 5c018602..950839f8 100644 --- a/StabilityMatrix.Core/Models/Packages/A3WebUI.cs +++ b/StabilityMatrix.Core/Models/Packages/A3WebUI.cs @@ -56,6 +56,8 @@ public class A3WebUI : BaseGitPackage [SharedFolderType.Hypernetwork] = new[] { "models/hypernetworks" }, [SharedFolderType.ControlNet] = new[] { "models/ControlNet" }, [SharedFolderType.Codeformer] = new[] { "models/Codeformer" }, + [SharedFolderType.LDSR] = new[] { "models/LDSR" }, + [SharedFolderType.AfterDetailer] = new[] { "models/adetailer" } }; [SuppressMessage("ReSharper", "ArrangeObjectCreationWhenTypeNotEvident")] diff --git a/StabilityMatrix.Core/Models/SharedFolderType.cs b/StabilityMatrix.Core/Models/SharedFolderType.cs index bace308d..244c2fdb 100644 --- a/StabilityMatrix.Core/Models/SharedFolderType.cs +++ b/StabilityMatrix.Core/Models/SharedFolderType.cs @@ -28,4 +28,5 @@ public enum SharedFolderType CLIP = 1 << 18, ScuNET = 1 << 19, GLIGEN = 1 << 20, + AfterDetailer = 1 << 21 } From 389530cdec67dffb8fc714059f525c72888af688 Mon Sep 17 00:00:00 2001 From: Ionite Date: Wed, 20 Sep 2023 13:29:04 -0400 Subject: [PATCH 2/3] Add changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bf405d6..fd78bc78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to Stability Matrix will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2.0.0.html). +## v2.4.6 +### Added +- LDSR / ADetailer shared folder links for Automatic1111 Package + ## v2.4.5 ### Fixed - Fixed "Library Dir not set" error on launch From 4f6ec031b2888eaba519216dc944ac4bc9ae6053 Mon Sep 17 00:00:00 2001 From: Ionite Date: Wed, 20 Sep 2023 13:59:45 -0400 Subject: [PATCH 3/3] Move RemoteResource to core --- StabilityMatrix.Avalonia/Assets.cs | 1 + .../Models/RemoteResource.cs | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) rename {StabilityMatrix.Avalonia => StabilityMatrix.Core}/Models/RemoteResource.cs (91%) diff --git a/StabilityMatrix.Avalonia/Assets.cs b/StabilityMatrix.Avalonia/Assets.cs index 6b06b2ea..9e5a6cd1 100644 --- a/StabilityMatrix.Avalonia/Assets.cs +++ b/StabilityMatrix.Avalonia/Assets.cs @@ -5,6 +5,7 @@ using System.Runtime.Versioning; using Avalonia.Platform; using StabilityMatrix.Avalonia.Models; using StabilityMatrix.Core.Helper; +using StabilityMatrix.Core.Models; namespace StabilityMatrix.Avalonia; diff --git a/StabilityMatrix.Avalonia/Models/RemoteResource.cs b/StabilityMatrix.Core/Models/RemoteResource.cs similarity index 91% rename from StabilityMatrix.Avalonia/Models/RemoteResource.cs rename to StabilityMatrix.Core/Models/RemoteResource.cs index 8b0ba59e..59e636f1 100644 --- a/StabilityMatrix.Avalonia/Models/RemoteResource.cs +++ b/StabilityMatrix.Core/Models/RemoteResource.cs @@ -1,6 +1,4 @@ -using System; - -namespace StabilityMatrix.Avalonia.Models; +namespace StabilityMatrix.Core.Models; /// /// Defines a remote downloadable resource.