From cf44f7cf1ac2544cc156e2dec95ebb620361e3ab Mon Sep 17 00:00:00 2001 From: ozaner <56015962+ozaner@users.noreply.github.com> Date: Fri, 10 Feb 2023 15:39:17 -0500 Subject: [PATCH] Freeze datadex and spritedex repos Freezes the builds of pkuData and pkuSprite used for this version of pkuManager. Specifically the builds made on September 26, 2022. --- pkuManager.Data/DataDexManager.cs | 4 ++++ pkuManager.Data/SpriteDexManager.cs | 4 ++++ pkuManager.WinForms/Registry.cs | 5 +++-- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/pkuManager.Data/DataDexManager.cs b/pkuManager.Data/DataDexManager.cs index 4602b7b..41eaa30 100644 --- a/pkuManager.Data/DataDexManager.cs +++ b/pkuManager.Data/DataDexManager.cs @@ -7,4 +7,8 @@ public class DataDexManager : DexManager { //Base URL of the https://github.com/project-pku/pkuData repo protected override string ONLINE_BASE_URL => "https://raw.githubusercontent.com/project-pku/pkuData"; + + public DataDexManager() : base() { } + public DataDexManager(string hash) : base(hash) { } + public DataDexManager(DirectoryInfo directory) : base(directory) { } } \ No newline at end of file diff --git a/pkuManager.Data/SpriteDexManager.cs b/pkuManager.Data/SpriteDexManager.cs index 699a626..0334855 100644 --- a/pkuManager.Data/SpriteDexManager.cs +++ b/pkuManager.Data/SpriteDexManager.cs @@ -7,4 +7,8 @@ public class SpriteDexManager : DexManager { //Base URL of the https://github.com/project-pku/pkuSprite repo protected override string ONLINE_BASE_URL => "https://raw.githubusercontent.com/project-pku/pkuSprite"; + + public SpriteDexManager() : base() { } + public SpriteDexManager(string hash) : base(hash) { } + public SpriteDexManager(DirectoryInfo directory) : base(directory) { } } \ No newline at end of file diff --git a/pkuManager.WinForms/Registry.cs b/pkuManager.WinForms/Registry.cs index a1cdac1..16cd62e 100644 --- a/pkuManager.WinForms/Registry.cs +++ b/pkuManager.WinForms/Registry.cs @@ -12,8 +12,9 @@ namespace pkuManager.WinForms; public static class Registry { - public static readonly DataDexManager DDM = new(); - public static readonly SpriteDexManager SDM = new(); + //pkuData & pkuSprite builds as of September 26, 2022. + public static readonly DataDexManager DDM = new("e138b5dc0a024391992b6cdb667e308011365e63"); + public static readonly SpriteDexManager SDM = new("a51d6b0f270c1a4cc0e2781690854d37730f5e66"); public readonly struct FormatInfo {