瀏覽代碼

Fix build script for .NET launcher platform

Bepis 4 年之前
父節點
當前提交
f30b283d35
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      build.cake

+ 6 - 0
build.cake

@@ -202,6 +202,12 @@ Task("MakeDist")
 
 
         FileWriteText(distArchDir + File("changelog.txt"), changelog);
+
+        if (platform == "NetLauncher")
+        {
+            DeleteFile(Directory(bepinDir) + Directory("core") + File("BepInEx.NetLauncher.exe.config"));
+            MoveFiles(Directory(bepinDir) + Directory("core") + File("BepInEx.NetLauncher.*"), Directory(distArchDir));
+        }
     }
 
     PackageBepin("UnityMono", "x86", "Unity", "doorstop_config_mono.ini");