mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[core] Add additional warning for Ownership Token requirement
This commit is contained in:
parent
c20619d6e7
commit
ec97cef264
|
@ -427,6 +427,9 @@ class LegendaryCore:
|
||||||
results.warnings.append('(Linux) The game uses EasyAntiCheat and may not run on linux')
|
results.warnings.append('(Linux) The game uses EasyAntiCheat and may not run on linux')
|
||||||
break
|
break
|
||||||
|
|
||||||
|
if install.requires_ot:
|
||||||
|
results.warnings.append('This game requires an ownership verification token and likely uses Denuvo DRM.')
|
||||||
|
|
||||||
# check if enough disk space is free (dl size is the approximate amount the installation will grow)
|
# check if enough disk space is free (dl size is the approximate amount the installation will grow)
|
||||||
min_disk_space = analysis.uncompressed_dl_size + analysis.biggest_file_size
|
min_disk_space = analysis.uncompressed_dl_size + analysis.biggest_file_size
|
||||||
_, _, free = shutil.disk_usage(install.install_path)
|
_, _, free = shutil.disk_usage(install.install_path)
|
||||||
|
|
Loading…
Reference in a new issue