mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 04:57:17 +01:00
Add the EngineInstallComplete event
This commit is contained in:
@@ -476,6 +476,8 @@ namespace Tgstation.Server.Host.Components.Engine
|
||||
await InstallVersionFiles(progressReporter, version, customVersionStream, cancellationToken);
|
||||
|
||||
ourTcs.SetResult();
|
||||
|
||||
await eventConsumer.HandleEvent(EventType.EngineInstallComplete, new List<string> { versionString }, false, cancellationToken);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
@@ -167,5 +167,11 @@
|
||||
/// </summary>
|
||||
[EventScript("DeploymentActivation")]
|
||||
DeploymentActivation,
|
||||
|
||||
/// <summary>
|
||||
/// Parameters: Version being installed.
|
||||
/// </summary>
|
||||
[EventScript("EngineInstallComplete")]
|
||||
EngineInstallComplete,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user