From 68bd90001a7ccb574db92e20405ead6a12504de0 Mon Sep 17 00:00:00 2001 From: Leonid Date: Thu, 28 Mar 2024 03:31:51 +0700 Subject: [PATCH] Make caching global --- BepInExFasterLoadAssetBundles/Patcher.cs | 3 ++- CHANGELOG.md | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/BepInExFasterLoadAssetBundles/Patcher.cs b/BepInExFasterLoadAssetBundles/Patcher.cs index 456abb4..c44c90c 100644 --- a/BepInExFasterLoadAssetBundles/Patcher.cs +++ b/BepInExFasterLoadAssetBundles/Patcher.cs @@ -23,7 +23,8 @@ public static void ChainloaderInitialized() Logger = BepInEx.Logging.Logger.CreateLogSource(nameof(BepInExFasterLoadAssetBundlesPatcher)); - var outputFolder = Path.Combine(Paths.CachePath, "AssetBundles"); + var persistentDataPath = Application.persistentDataPath; + var outputFolder = Path.Combine(persistentDataPath, "Cache", "AssetBundles"); if (!Directory.Exists(outputFolder)) { Directory.CreateDirectory(outputFolder); diff --git a/CHANGELOG.md b/CHANGELOG.md index d90452b..6fc4998 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project 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](https://semver.org/spec/v2.0.0.html). +## [0.3.0] 2024-03-28 +### Changed +- Cache folder is now global (`%userprofile%\AppData\LocalLow\\`). + ## [0.2.0] 2024-03-28 ### Changed - Decompression is now happens in background.