feat: some implementation for client unmounted mode

This commit is contained in:
tresabhi committed 2026-05-05 16:48:16 -05:00
1 parent 980fd6e50e
commit ba4e6dfd68
7 files changed
+29 -26

No files matched your search

+2 -16
View File
@@ -21,21 +21,7 @@ public class BlitzFileProvider : DefaultFileProvider
Initialize();
Mount();
string libraryExtension;
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
libraryExtension = "dll";
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{
libraryExtension = "so";
}
else
{
throw new Exception("Unsupported OS");
}
OodleHelper.DownloadOodleDll($"../../temp/oodle.{libraryExtension}");
OodleHelper.Initialize($"../../temp/oodle.{libraryExtension}");
// OodleHelper.DownloadOodleDll($"../../temp/oodle.so");
OodleHelper.Initialize($"../../temp/oodle.so");
}
}
+1 -1
View File
@@ -2,7 +2,7 @@
<PropertyGroup>
<RootNamespace>BlitzKit.Game</RootNamespace>
<TargetFramework>net9.0</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<!-- <RuntimeIdentifier>win-x64</RuntimeIdentifier> -->
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<NodeApiAssemblyJSModuleType>esm</NodeApiAssemblyJSModuleType>
+1 -1
View File
@@ -1 +1 @@
export * from "../bin/Debug/net9.0/win-x64/game";
export * from "../bin/Debug/net9.0/game";