Compare commits

..
4 Commits
Author SHA1 Message Date
crazytuzi d120d6bb4b 新增bUseRelease 2026-05-28 00:46:47 +08:00
crazytuzi 76f5911858 修复shared目录 2026-05-27 15:45:56 +08:00
crazytuzi ffde42c70c Remove RegularExpressions 2026-05-26 00:35:18 +08:00
crazytuzi 94c787fd08 v10.0.4 2026-04-23 11:51:21 +08:00
15 changed files with 19 additions and 36 deletions

No files matched your search

+11 -18
View File
@@ -39,24 +39,20 @@ public class CoreCLR : ModuleRules
var SharedPath = $"shared/Microsoft.NETCore.App/{MajorVersion}.{MinorVersion}.{PatchVersion}"; var SharedPath = $"shared/Microsoft.NETCore.App/{MajorVersion}.{MinorVersion}.{PatchVersion}";
var BinaryOutputDirectory = Target.bBuildEditor
? Path.Combine(PluginDirectory, "Binaries", Target.Platform.ToString())
: "$(BinaryOutputDir)";
if (Target.Platform == UnrealTargetPlatform.Win64) if (Target.Platform == UnrealTargetPlatform.Win64)
{ {
var PlatformLibraryPath = Path.Combine(LibraryPath, Target.Platform.ToString()); var PlatformLibraryPath = Path.Combine(LibraryPath, Target.Platform.ToString());
RuntimeDependencies.Add($"{BinaryOutputDirectory}/hostfxr.dll", RuntimeDependencies.Add("$(BinaryOutputDir)/hostfxr.dll",
Path.Combine(PlatformLibraryPath, "hostfxr.dll")); Path.Combine(PlatformLibraryPath, "hostfxr.dll"));
RuntimeDependencies.Add($"{BinaryOutputDirectory}/CoreCLR.runtimeconfig.json", RuntimeDependencies.Add("$(BinaryOutputDir)/CoreCLR.runtimeconfig.json",
Path.Combine(PlatformLibraryPath, "CoreCLR.runtimeconfig.json")); Path.Combine(PlatformLibraryPath, "CoreCLR.runtimeconfig.json"));
RuntimeDependencies.Add($"{BinaryOutputDirectory}/mscordaccore_amd64_amd64_42.42.42.42424.dll", RuntimeDependencies.Add("$(BinaryOutputDir)/mscordaccore_amd64_amd64_42.42.42.42424.dll",
Path.Combine(PlatformLibraryPath, "mscordaccore_amd64_amd64_42.42.42.42424.dll")); Path.Combine(PlatformLibraryPath, "mscordaccore_amd64_amd64_42.42.42.42424.dll"));
var SharedDirectory = $"{BinaryOutputDirectory}/{SharedPath}"; var SharedDirectory = $"$(BinaryOutputDir)/{SharedPath}";
var Files = GetFiles(Path.Combine(PlatformLibraryPath, "net")); var Files = GetFiles(Path.Combine(PlatformLibraryPath, "net"));
@@ -98,13 +94,13 @@ public class CoreCLR : ModuleRules
var PlatformLibraryPath = Path.Combine(LibraryPath, var PlatformLibraryPath = Path.Combine(LibraryPath,
Target.Platform == UnrealTargetPlatform.Linux ? "Linux_x86_64" : "Linux_aarch64"); Target.Platform == UnrealTargetPlatform.Linux ? "Linux_x86_64" : "Linux_aarch64");
RuntimeDependencies.Add($"{BinaryOutputDirectory}/libhostfxr.so", RuntimeDependencies.Add("$(BinaryOutputDir)/libhostfxr.so",
Path.Combine(PlatformLibraryPath, "libhostfxr.so")); Path.Combine(PlatformLibraryPath, "libhostfxr.so"));
RuntimeDependencies.Add($"{BinaryOutputDirectory}/CoreCLR.runtimeconfig.json", RuntimeDependencies.Add("$(BinaryOutputDir)/CoreCLR.runtimeconfig.json",
Path.Combine(PlatformLibraryPath, "CoreCLR.runtimeconfig.json")); Path.Combine(PlatformLibraryPath, "CoreCLR.runtimeconfig.json"));
var SharedDirectory = $"{BinaryOutputDirectory}/{SharedPath}"; var SharedDirectory = $"$(BinaryOutputDir)/{SharedPath}";
var Files = GetFiles(Path.Combine(PlatformLibraryPath, "net")); var Files = GetFiles(Path.Combine(PlatformLibraryPath, "net"));
@@ -127,10 +123,7 @@ public class CoreCLR : ModuleRules
"libSystem.IO.Compression.Native.so", "libSystem.IO.Compression.Native.so",
"libSystem.Native.so", "libSystem.Native.so",
"libSystem.Net.Security.Native.so", "libSystem.Net.Security.Native.so",
"libSystem.Security.Cryptography.Native.OpenSsl.so", "libSystem.Security.Cryptography.Native.OpenSsl.so"
"libicuuc.so.76.1",
"libicui18n.so.76.1",
"libicudata.so.76.1"
}; };
foreach (var SharedObject in SharedObjects) foreach (var SharedObject in SharedObjects)
@@ -157,13 +150,13 @@ public class CoreCLR : ModuleRules
? "macOS_x86_64" ? "macOS_x86_64"
: "macOS_arm64"); : "macOS_arm64");
RuntimeDependencies.Add($"{BinaryOutputDirectory}/libhostfxr.dylib", RuntimeDependencies.Add("$(BinaryOutputDir)/libhostfxr.dylib",
Path.Combine(PlatformLibraryPath, "libhostfxr.dylib")); Path.Combine(PlatformLibraryPath, "libhostfxr.dylib"));
RuntimeDependencies.Add($"{BinaryOutputDirectory}/CoreCLR.runtimeconfig.json", RuntimeDependencies.Add("$(BinaryOutputDir)/CoreCLR.runtimeconfig.json",
Path.Combine(PlatformLibraryPath, "CoreCLR.runtimeconfig.json")); Path.Combine(PlatformLibraryPath, "CoreCLR.runtimeconfig.json"));
var SharedDirectory = $"{BinaryOutputDirectory}/{SharedPath}"; var SharedDirectory = $"$(BinaryOutputDir)/{SharedPath}";
var Files = GetFiles(Path.Combine(PlatformLibraryPath, "net")); var Files = GetFiles(Path.Combine(PlatformLibraryPath, "net"));
@@ -8,9 +8,7 @@
"configProperties": { "configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
"System.GC.Concurrent": true, "System.GC.Concurrent": true,
"System.GC.Server": false, "System.GC.Server": false
"System.Runtime.TieredCompilation": false,
"System.Globalization.AppLocalIcu": "76.1"
} }
} }
} }
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -2
View File
@@ -8,8 +8,7 @@
"configProperties": { "configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
"System.GC.Concurrent": true, "System.GC.Concurrent": true,
"System.GC.Server": false, "System.GC.Server": false
"System.Runtime.TieredCompilation": false
} }
} }
} }
@@ -8,8 +8,7 @@
"configProperties": { "configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
"System.GC.Concurrent": true, "System.GC.Concurrent": true,
"System.GC.Server": false, "System.GC.Server": false
"System.Runtime.TieredCompilation": false
} }
} }
} }
@@ -8,8 +8,7 @@
"configProperties": { "configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
"System.GC.Concurrent": true, "System.GC.Concurrent": true,
"System.GC.Server": false, "System.GC.Server": false
"System.Runtime.TieredCompilation": false
} }
} }
} }
@@ -8,9 +8,7 @@
"configProperties": { "configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
"System.GC.Concurrent": true, "System.GC.Concurrent": true,
"System.GC.Server": false, "System.GC.Server": false
"System.Runtime.TieredCompilation": false,
"System.Globalization.AppLocalIcu": "76.1"
} }
} }
} }
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -2
View File
@@ -8,8 +8,7 @@
"configProperties": { "configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
"System.GC.Concurrent": true, "System.GC.Concurrent": true,
"System.GC.Server": false, "System.GC.Server": false
"System.Runtime.TieredCompilation": false
} }
} }
} }
@@ -8,8 +8,7 @@
"configProperties": { "configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
"System.GC.Concurrent": true, "System.GC.Concurrent": true,
"System.GC.Server": false, "System.GC.Server": false
"System.Runtime.TieredCompilation": false
} }
} }
} }
@@ -8,8 +8,7 @@
"configProperties": { "configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false, "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
"System.GC.Concurrent": true, "System.GC.Concurrent": true,
"System.GC.Server": false, "System.GC.Server": false
"System.Runtime.TieredCompilation": false
} }
} }
} }