Fix for game update when launcher has not been updated
All checks were successful
Build / Compute Version (push) Successful in 6s
Build / Build Nuget package (NuGet) (push) Successful in 1m0s
Build / Build Nuget package (SharedCringe) (push) Successful in 1m0s
Build / Build Nuget package (CringePlugins) (push) Successful in 1m16s
Build / Build Launcher (push) Successful in 1m51s
Build / Build Nuget package (CringeBootstrap.Abstractions) (push) Successful in 3m8s

Switch to ModScriptCompilerPatch for pb unloading
This commit is contained in:
2025-05-13 20:32:43 -04:00
parent 78880d2a78
commit a87161f2f5
4 changed files with 133 additions and 122 deletions

View File

@@ -1,4 +1,5 @@
using System.Diagnostics;
#if false
using System.Diagnostics;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.Loader;
@@ -91,4 +92,5 @@ public static class ModAssemblyLoadContextPatches //todo: use ModScriptCompilerP
_currentSessionContext = new ModAssemblyLoadContext(coreContext);
}
}
}
}
#endif