1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

confirmed working for linux

fixed the database access issue
This commit is contained in:
RaidMax
2018-08-01 21:09:22 -05:00
parent def22f20fb
commit 2cb308989a
2 changed files with 6 additions and 1 deletions

View File

@ -802,7 +802,7 @@ namespace IW4MAdmin
// hopefully fix wine drive name mangling
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
logPath = Regex.Replace(logPath, @"[A-Z]:", "");
logPath = Regex.Replace($"{Path.DirectorySeparatorChar}{logPath}", @"[A-Z]:", "");
}
if (!File.Exists(logPath))