mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 06:50:44 -05:00
Fix build issue
This commit is contained in:
parent
072f100c56
commit
fbef0eae48
@ -17,19 +17,21 @@ namespace Aki.Core.Utils
|
|||||||
var v1 = Registry.LocalMachine.OpenSubKey(c0, false).GetValue("InstallLocation");
|
var v1 = Registry.LocalMachine.OpenSubKey(c0, false).GetValue("InstallLocation");
|
||||||
var v2 = (v1 != null) ? v1.ToString() : string.Empty;
|
var v2 = (v1 != null) ? v1.ToString() : string.Empty;
|
||||||
var v3 = new DirectoryInfo(v2);
|
var v3 = new DirectoryInfo(v2);
|
||||||
ServerLog.Debug("Aki.Core", v2);
|
|
||||||
ServerLog.Debug("Aki.Core", string.IsNullOrEmpty(v2) ? "0" : v3.Length.ToString());
|
|
||||||
|
|
||||||
var v4 = new FileSystemInfo[]
|
var v4 = new FileSystemInfo[]
|
||||||
{
|
{
|
||||||
v3,
|
v3,
|
||||||
new FileInfo(Path.Join(v2, @"BattlEye\BEClient_x64.dll")),
|
new FileInfo(Path.Combine(v2, @"BattlEye\BEClient_x64.dll")),
|
||||||
new FileInfo(Path.Join(v2, @"BattlEye\BEService_x64.dll")),
|
new FileInfo(Path.Combine(v2, @"BattlEye\BEService_x64.dll")),
|
||||||
new FileInfo(Path.Join(v2, "ConsistencyInfo")),
|
new FileInfo(Path.Combine(v2, "ConsistencyInfo")),
|
||||||
new FileInfo(Path.Join(v2, "Uninstall.exe")),
|
new FileInfo(Path.Combine(v2, "Uninstall.exe")),
|
||||||
new FileInfo(Path.Join(v2, "UnityCrashHandler64.exe"))
|
new FileInfo(Path.Combine(v2, "UnityCrashHandler64.exe"))
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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());
|
||||||
|
|
||||||
v0 = v4.Length - 1;
|
v0 = v4.Length - 1;
|
||||||
|
|
||||||
foreach (var value in v4)
|
foreach (var value in v4)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user