Rename BYOND bin const to be more specific

This commit is contained in:
Jordan Dominion
2023-10-15 15:40:19 -04:00
parent 0fefec9f57
commit 0853fd36e2
3 changed files with 4 additions and 4 deletions
@@ -22,7 +22,7 @@ namespace Tgstation.Server.Host.Components.Engine
/// <summary>
/// The path to the BYOND bin folder.
/// </summary>
protected const string BinPath = "byond/bin";
protected const string ByondBinPath = "byond/bin";
/// <summary>
/// The name of BYOND's cache directory.
@@ -89,7 +89,7 @@ namespace Tgstation.Server.Host.Components.Engine
{
CheckVersionValidity(version);
var binPathForVersion = IOManager.ConcatPath(path, BinPath);
var binPathForVersion = IOManager.ConcatPath(path, ByondBinPath);
var supportsMapThreads = version.Version >= MapThreadsVersion;
return new ByondInstallation(
@@ -89,7 +89,7 @@ namespace Tgstation.Server.Host.Components.Engine
postWriteHandler.HandleWrite(IOManager.ResolvePath(pathToScript));
}
var basePath = IOManager.ConcatPath(path, BinPath);
var basePath = IOManager.ConcatPath(path, ByondBinPath);
var ddTask = WriteAndMakeExecutable(
IOManager.ConcatPath(basePath, GetDreamDaemonName(version.Version, out _)),
@@ -235,7 +235,7 @@ namespace Tgstation.Server.Host.Components.Engine
var dreamDaemonPath = IOManager.ResolvePath(
IOManager.ConcatPath(
path,
BinPath,
ByondBinPath,
dreamDaemonName));
int exitCode;