mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-12-13 22:08:37 +00:00
check for instances running from inside winrar
This commit is contained in:
parent
252d2b47f6
commit
1a75938a02
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user