mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Upgrade Doorstop to version 4.5.0 (#1260)
This commit is contained in:
1 parent
0d275a4df3
commit
c0386134c6
6 files changed
+234
-182
No files matched your search
+4
-3
@@ -32,7 +32,7 @@ public class BuildContext : FrostingContext
|
||||
BleedingEdge
|
||||
}
|
||||
|
||||
public const string DoorstopVersion = "4.3.0";
|
||||
public const string DoorstopVersion = "4.5.0";
|
||||
public const string DotnetRuntimeVersion = "6.0.7";
|
||||
public const string DobbyVersion = "1.0.5";
|
||||
|
||||
@@ -253,8 +253,9 @@ public sealed class MakeDistTask : FrostingTask<BuildContext>
|
||||
|
||||
if (dist.Engine == "Unity")
|
||||
{
|
||||
var doorstopPath =
|
||||
ctx.CacheDirectory.Combine("doorstop").Combine($"doorstop_{dist.Os}").Combine(dist.Arch);
|
||||
var doorstopPath = dist.Os == "macos"
|
||||
? ctx.CacheDirectory.Combine("doorstop").Combine("doorstop_macos").Combine("universal")
|
||||
: ctx.CacheDirectory.Combine("doorstop").Combine($"doorstop_{dist.Os}").Combine(dist.Arch);
|
||||
foreach (var filePath in ctx.GetFiles(doorstopPath.Combine($"*.{dist.DllExtension}").FullPath))
|
||||
ctx.CopyFileToDirectory(filePath, targetDir);
|
||||
ctx.CopyFileToDirectory(doorstopPath.CombineWithFilePath(".doorstop_version"), targetDir);
|
||||
|
||||
Reference in new issue
Block a user