Auto server update should work now

This commit is contained in:
sardelka9515
2022-08-21 19:56:59 +08:00
parent c17b234057
commit 01492a0c55
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ namespace RageCoop.Server
try
{
Console.WriteLine("Applying update to "+target);
CoreUtils.CopyFilesRecursively(new(AppDomain.CurrentDomain.BaseDirectory), new(target));
Process.Start(Path.Combine(target, "RageCoop.Server"));
Environment.Exit(0);