mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 09:50:43 -05:00
Adjust build script to place spt-related dlls inside a subflder inside /plugins/
This commit is contained in:
parent
3a19e0df56
commit
de3ad49ecb
@ -10,6 +10,7 @@ var delPaths = GetDirectories("./**/*(obj|bin)");
|
||||
var licenseFile = "../LICENSE.md";
|
||||
var managedFolder = string.Format("{0}/{1}/{2}", buildDir, "EscapeFromTarkov_Data", "Managed");
|
||||
var bepInExPluginsFolder = string.Format("{0}/{1}/{2}", buildDir, "BepInEx", "plugins");
|
||||
var bepInExPluginsSptFolder = string.Format("{0}/{1}", bepInExPluginsFolder, "spt");
|
||||
var bepInExPatchersFolder = string.Format("{0}/{1}/{2}", buildDir, "BepInEx", "patchers");
|
||||
var solutionPath = "./Modules.sln";
|
||||
|
||||
@ -63,6 +64,7 @@ Task("CopyBuildData")
|
||||
CleanDirectory(buildDir);
|
||||
CreateDirectory(managedFolder);
|
||||
CreateDirectory(bepInExPluginsFolder);
|
||||
CreateDirectory(bepInExPluginsSptFolder);
|
||||
CreateDirectory(bepInExPatchersFolder);
|
||||
CopyFile(licenseFile, string.Format("{0}/LICENSE-Modules.txt", buildDir));
|
||||
})
|
||||
@ -82,7 +84,7 @@ Task("CopyBuildData")
|
||||
//Incase you want to see what is being copied for debuging
|
||||
//Spectre.Console.AnsiConsole.WriteLine(string.Format("Adding Module: {0}", dllPath.GetFilename()));
|
||||
|
||||
string moduleTransferPath = string.Format("{0}/{1}", bepInExPluginsFolder, dllPath.GetFilename());
|
||||
string moduleTransferPath = string.Format("{0}/{1}", bepInExPluginsSptFolder, dllPath.GetFilename());
|
||||
|
||||
CopyFile(dllPath, moduleTransferPath);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user