Skip to content

Commit

Permalink
Merge pull request #5 from DiFFoZ/feature/global-cache
Browse files Browse the repository at this point in the history
Make caching global
  • Loading branch information
DiFFoZ authored Mar 27, 2024
2 parents 2632c39 + 68bd900 commit feff343
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BepInExFasterLoadAssetBundles/Patcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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\<companyname>\<productname>`).

## [0.2.0] 2024-03-28
### Changed
- Decompression is now happens in background.
Expand Down

0 comments on commit feff343

Please sign in to comment.