mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-19 15:51:45 +00:00
Actually write the cache version in SaveAssemblyCache
This commit is contained in:
1 parent
d389ed8067
commit
ae4d7bb34c
1 file changed
+1
@@ -366,6 +366,7 @@ public static class TypeLoader
|
||||
var path = Path.Combine(Paths.CachePath, $"{cacheName}_typeloader.dat");
|
||||
|
||||
using var bw = new BinaryWriter(File.OpenWrite(path));
|
||||
bw.Write(CachedAssembly<T>.Version);
|
||||
bw.Write(entries.Count);
|
||||
|
||||
foreach (var kv in entries)
|
||||
|
||||
Reference in new issue
Block a user