mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 13:07:07 +01:00
Fix debugging issue with host watchdogs
This commit is contained in:
@@ -101,7 +101,10 @@ namespace Tgstation.Server.Host.Watchdog
|
||||
Directory.Delete(assemblyStoragePath, true);
|
||||
Directory.CreateDirectory(defaultAssemblyPath);
|
||||
|
||||
var sourcePath = "../../../../Tgstation.Server.Host/bin/Debug/net8.0";
|
||||
var sourcePath = Path.GetFullPath(
|
||||
Path.Combine(
|
||||
rootLocation,
|
||||
"../../../../Tgstation.Server.Host/bin/Debug/net8.0"));
|
||||
foreach (string dirPath in Directory.GetDirectories(sourcePath, "*", SearchOption.AllDirectories))
|
||||
Directory.CreateDirectory(dirPath.Replace(sourcePath, defaultAssemblyPath, StringComparison.Ordinal));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user