Преглед изворни кода

Fix build script for .NET launcher platform

Bepis пре 3 година
родитељ
комит
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");