1
0
Fork 0
mirror of synced 2024-06-02 18:54:41 +12:00
Rare/rare/models
loathingKernel 1677ea762c
FetchWorker: Fix issue with missing MacOS assets on MacOS
Using `LegendaryCore.get_game_and_dlc_list` with platform `Windows`
updated the assets only for the `Windows` builds of the games missing
`Win32` and `MacOS` assets on clean installs. This caused Rare to not
include MacOS install options on MacOS (duh!). This might also have been
the cause that users were unable to launch games, since they where only
offered the `Windows` build of the games (big duh!).

To fix this, fetch the assets for `Win32` and `MacOS` games before getting
the final list of games and dlcs based on the `Windows` platform.

In this regard, also re-use the existing options for getting metadata to
give the option to the user to include them when updating assets. Also add
an option to include Unreal engine assets which until now were fetched
unconditionally.

* Include Unreal: When the user option is `true` or debugging.
  Defaults to `false`
* Update Win32: When the user option is `true` or debugging.
  Defaults to `false`
* Update MacOS: Force on MacOS, when the option is `true` or debugging on
  other platforms. Defaults to `true` on MacOS and is disabled,
  `false` on others

Furthermore, respect legendary's `default_platform` config option and
set it in the config on new configurations. The new method in our
LegendaryCore monkey allows us to use that option in RareGame when doing
version checks on not installed games, and not defaulting to `Windows`.

Finally, set `install_platform_fallback` to false in a new config to
avoid unwanted side-effects.
2023-12-15 16:57:32 +02:00
..
__init__.py Implement image manager 2022-06-19 17:12:59 +03:00
base_game.py RareGame: Return values only from Game for app_name and app_title 2023-12-14 23:08:29 +02:00
game.py FetchWorker: Fix issue with missing MacOS assets on MacOS 2023-12-15 16:57:32 +02:00
image.py IconGameWidget: Make icons slightly smaller by using the Library preset 2023-12-14 13:57:22 +02:00
install.py Lgndr: Replace the monkey functions with factories to create them 2023-12-10 22:43:31 +02:00
launcher.py Code: Use vars() instead of directly accessing __dict__ 2023-12-07 19:40:16 +02:00
pathspec.py RareGame: Introduce RareGame from refactor_backend branch 2023-02-04 17:38:06 +02:00
signals.py Workers: Implement wrapper QueueWorker class prototype for queueable workers 2023-02-04 17:38:07 +02:00