1
0
Fork 0
mirror of synced 2024-07-01 04:30:20 +12:00
Rare/rare/components
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
..
dialogs InstallDialog: Properly find the the row when inserting install_dir_edit 2023-12-12 01:23:17 +02:00
tabs FetchWorker: Fix issue with missing MacOS assets on MacOS 2023-12-15 16:57:32 +02:00
__init__.py FetchWorker: Fix issue with missing MacOS assets on MacOS 2023-12-15 16:57:32 +02:00
main_window.py AccountWidget: Add a Quit button in the widget in case the system tray 2023-12-10 14:21:39 +02:00
tray_icon.py InstallQueueItemModel: Refactor to add an expiration date to the download 2023-02-04 17:38:07 +02:00