mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 13:07:07 +01:00
Rename BYOND bin const to be more specific
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user