1
0
Fork 0
mirror of synced 2024-06-29 11:40:37 +12:00
Rare/rare/components/tabs/downloads
loathingKernel 18ebb6888f
InstallDialog: Allow for some special cases to install 0 size downloads
This specifically helps with games that have selectable downloads.
If we import a game with SDLs without any `install_tags` in the config
we will verify against the full game, meaning that files missing will
cause the verification to fail despite the game being correct. Since the
game is correct, resolving the download will result in a 0 size update.
This change will allow the InstallDialog to finish through the Install
button successfully despite having nothing to install.

On the `lgndr` side things are more complicated. Due to minor oversights
in legendary, the `install_tags` in the above example wouldn't be written
to the configuration file, causing a verification loop because the file
list wouldn't be filtered. To fix that, we also save legendary's config
file at the end of cleaning after a 0 size download.
2023-03-14 12:18:19 +02:00
..
__init__.py InstallDialog: Allow for some special cases to install 0 size downloads 2023-03-14 12:18:19 +02:00
download.py Code cleanup 2023-02-07 13:06:08 +02:00
groups.py Code cleanup: Use pass instead of ellipsis (...) for abstractmethods 2023-02-20 15:31:04 +02:00
thread.py Downloads: Update queues count at more occasions 2023-03-13 12:30:27 +02:00
widgets.py Misc: rename get_size to format_size 2023-03-06 00:39:23 +02:00