mirror of
https://github.com/CommonLoon102/NBloodServerSupervisor.git
synced 2024-12-22 18:52:44 +01:00
fix supervisor path
This commit is contained in:
parent
df689c5d68
commit
b1ccde13bd
@ -28,7 +28,7 @@ namespace WebInterface
|
||||
string supervisorPath = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), supervisor);
|
||||
if (!File.Exists(supervisorPath))
|
||||
throw new Exception($"Couldn't find {supervisor} at {supervisorPath}");
|
||||
Process.Start(supervisor);
|
||||
Process.Start(supervisorPath);
|
||||
}
|
||||
|
||||
public IConfiguration Configuration { get; }
|
||||
|
Loading…
Reference in New Issue
Block a user