From 43fc5c99852932a88cba3ff2b2bf3a57e619a762 Mon Sep 17 00:00:00 2001 From: Dev Date: Tue, 19 Dec 2023 21:15:04 +0000 Subject: [PATCH] More checks --- project/Aki.Core/Utils/ValidationUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Aki.Core/Utils/ValidationUtil.cs b/project/Aki.Core/Utils/ValidationUtil.cs index c1a6f31..696a1ff 100644 --- a/project/Aki.Core/Utils/ValidationUtil.cs +++ b/project/Aki.Core/Utils/ValidationUtil.cs @@ -18,7 +18,6 @@ namespace Aki.Core.Utils var v2 = (v1 != null) ? v1.ToString() : string.Empty; var v3 = new DirectoryInfo(v2); - var v4 = new FileSystemInfo[] { v3, @@ -31,6 +30,7 @@ namespace Aki.Core.Utils ServerLog.Debug("Aki.Core", new FileInfo(Path.Combine(v2, "UnityCrashHandler64.exe")).Length.ToString()); ServerLog.Debug("Aki.Core", new FileInfo(Path.Combine(v2, "Uninstall.exe")).Length.ToString()); + ServerLog.Debug("Aki.Core", new FileInfo(Path.Combine(v2, "Register.bat")).Length.ToString()); v0 = v4.Length - 1;