Add support for brook custom configuration

https://github.com/txthinking/brook
https://github.com/txthinking/brook/issues/1372
This commit is contained in:
2dust
2025-02-03 15:06:21 +08:00
parent 9d92be99ee
commit 2a0012824a
5 changed files with 20 additions and 17 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ namespace ServiceLib.Handler
StartInfo = new()
{
FileName = fileName,
Arguments = string.Format(coreInfo.Arguments, configPath),
Arguments = string.Format(coreInfo.Arguments, coreInfo.AbsolutePath ? Utils.GetConfigPath(configPath) : configPath),
WorkingDirectory = Utils.GetConfigPath(),
UseShellExecute = false,
RedirectStandardOutput = displayLog,