check for instances running from inside winrar

This commit is contained in:
13xforever 2019-11-16 20:00:50 +05:00
parent 252d2b47f6
commit 1a75938a02

View File

@ -212,6 +212,9 @@ namespace CompatBot.Utils.ResultFormatters
var syncFolder = pathSegments.FirstOrDefault(s => KnownSyncFolders.Contains(s) || s.EndsWith("sync", StringComparison.InvariantCultureIgnoreCase));
if (!string.IsNullOrEmpty(syncFolder))
notes.Add($"⚠ RPCS3 installed in a file sync service folder `{syncFolder}`; may result in data loss or inconsistent state");
var rar = pathSegments.FirstOrDefault(s => s.StartsWith("Rar$"));
if (!string.IsNullOrEmpty(rar))
notes.Add($"❌ RPCS3 is launched from WinRAR; please extract all files instead");
}
if (int.TryParse(items["thread_count"], out var threadCount) && threadCount < 4)