1
0
Fork 0
mirror of synced 2024-06-02 18:54:41 +12:00
Rare/rare/lgndr
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
..
downloader Lgndr: Restructure module to follow legendary's file hierarchy 2022-10-29 14:50:18 +03:00
glue fix ValueError: 'mutable default X for field indirect_status is not allowed: use default_factory' 2022-12-05 20:09:17 +01:00
models Lgndr: Restructure module to follow legendary's file hierarchy 2022-10-29 14:50:18 +03:00
__init__.py Lgndr: Create argument models for consistent function arguments and cleaner implementation. 2022-08-02 10:42:38 +03:00
cli.py InstallDialog: Allow for some special cases to install 0 size downloads 2023-03-14 12:18:19 +02:00
core.py Code cleanup 2023-02-07 13:06:08 +02:00