[core] Add warning for games that are not marked for offline use

This commit is contained in:
derrod 2020-04-25 22:54:18 +02:00
parent ec97cef264
commit 8f23770e43

View file

@ -429,6 +429,8 @@ class LegendaryCore:
if install.requires_ot:
results.warnings.append('This game requires an ownership verification token and likely uses Denuvo DRM.')
if not install.can_run_offline:
results.warnings.append('This game is not marked for offline use (may still work).')
# 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