[core] Add warning for BattlEye anticheat

Closes #8
This commit is contained in:
derrod 2020-04-28 06:20:25 +02:00
parent 2be1d367df
commit 89fe49aa4d

View file

@ -428,9 +428,13 @@ class LegendaryCore:
# if on linux, check for eac in the files
if os.name != 'nt':
for f in analysis.manifest_comparison.added:
if 'easyanticheat' in f.lower():
flower = f.lower()
if 'easyanticheat' in flower:
results.warnings.append('(Linux) The game uses EasyAntiCheat and may not run on linux')
break
elif 'beclient' in flower:
results.warnings.append('(Linux) The game uses BattlEye and may not run on linux')
elif 'beclient' in flower:
results.warnings.append('(Linux) The game uses BattlEye and may not run on linux')
if install.requires_ot:
results.warnings.append('This game requires an ownership verification token and likely uses Denuvo DRM.')