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

fixed profanity bug

fix the shared GUID connect
fix linux  log issue
This commit is contained in:
RaidMax
2018-09-08 20:20:11 -05:00
parent 36f7c5bc51
commit e221b830f6
9 changed files with 24 additions and 40 deletions

View File

@ -808,10 +808,10 @@ namespace IW4MAdmin
// hopefully fix wine drive name mangling
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
logPath = Regex.Replace($"{Path.DirectorySeparatorChar}{LogPath}", @"[A-Z]:", "");
logPath = Regex.Replace($"{Path.DirectorySeparatorChar}{LogPath}", @"[A-Z]:/", "");
}
if (!File.Exists(LogPath) && !logPath.StartsWith("http"))
if (!File.Exists(logPath) && !logPath.StartsWith("http"))
{
Logger.WriteError($"{logPath} {loc["SERVER_ERROR_DNE"]}");
#if !DEBUG