From 60487d5313bf6b5bfe260d6831410749b471ac13 Mon Sep 17 00:00:00 2001 From: Frog Date: Mon, 15 Jun 2026 03:22:10 -0700 Subject: [PATCH] Create Cache Directory in ProgramData - Created new Cache folder in Program Data - Relocated Appinfo to Cache folder - Relocated installed.json to Cache folder --- CreamInstaller/Utility/ProgramData.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CreamInstaller/Utility/ProgramData.cs b/CreamInstaller/Utility/ProgramData.cs index 68f25f9..35af449 100644 --- a/CreamInstaller/Utility/ProgramData.cs +++ b/CreamInstaller/Utility/ProgramData.cs @@ -53,7 +53,9 @@ internal static class ProgramData internal static readonly string DirectoryPath = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + @"\CreamInstaller"; - internal static readonly string AppInfoPath = DirectoryPath + @"\appinfo"; + private static readonly string CachePath = DirectoryPath + @"\Cache"; + + internal static readonly string AppInfoPath = CachePath + @"\appinfo"; private static readonly string AppInfoVersionPath = AppInfoPath + @"\version.txt"; private static readonly Version MinimumAppInfoVersion = Version.Parse("4.7.0.0"); @@ -65,7 +67,7 @@ internal static class ProgramData private static readonly string DlcChoicesPath = DirectoryPath + @"\dlc.json"; private static readonly string KoaloaderProxyChoicesPath = DirectoryPath + @"\proxies.json"; private static readonly string ExtraProtectionChoicesPath = DirectoryPath + @"\extraprotection.json"; - private static readonly string InstalledGamesPath = DirectoryPath + @"\installed.json"; + private static readonly string InstalledGamesPath = CachePath + @"\installed.json"; internal static readonly string ScanLogPath = Path.Combine(DirectoryPath, "game-scan.log"); internal static readonly string SteamLogPath = Path.Combine(DirectoryPath, "cream-steam.log");