Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shop refactor #269

Closed
wants to merge 48 commits into from
Closed

Conversation

loathingKernel
Copy link
Contributor

No description provided.

@loathingKernel loathingKernel force-pushed the shop_refactor branch 5 times, most recently from 7c514f6 to d581d70 Compare April 4, 2023 11:46
@loathingKernel loathingKernel force-pushed the shop_refactor branch 2 times, most recently from d52ed00 to a2447fa Compare April 16, 2023 13:57
@loathingKernel loathingKernel force-pushed the shop_refactor branch 10 times, most recently from cc7e5cb to 1d40bb4 Compare May 4, 2023 15:37
@loathingKernel loathingKernel force-pushed the shop_refactor branch 7 times, most recently from cfc5dc8 to 49a03a5 Compare December 3, 2023 09:57
…back

* Extend `get_wine_prefix` and `get_wine_prefixes` to take Proton prefixes
into account.
is unavailable (for example running in a gamescope session)

* Do not show the launch window while instantiating the application. This
probably was causing numerous issues because it was running outside of
the applications event loop. This also fixes the exit button on the login
dialog requiring `sys.exit()` to quit Rare. Now it goes through the
proper cleanup procedures.

* Make slot and signal names more uniform

* Fix a problem with RareCore connecting RareGames to the same signals
multiple times when the library was refreshed.
Yes, we are back at this. Entitlements are important to have early
as Ubisoft redemption requires them, and they don't depend on anything
else.

* Move config helper initialization into RareCore to make it available
earlier.
This probably should be split into separate wine and proton
discovery functions.
This allows compatibility tools that use the SteamAppId environment
variable to make decisions or apply fixes do their job more accurately.

Also use the stored variable to provide a link to protondb through
the grade label in GameInfo.

The steam grades now use the orjson library to load Steam's ~6MB
database faster.
…game's metadata

The setting doesn't have a switch in the GUI yet, but the settings
feels like a better place for it.
* Use `vars()` instead of directly accessing `__dict__`
* Remove `auto_update` from RareGame's metadata
* Correct check for updating the Steam App ID (We want to keep any changes from the user)
* Collect both Wine and Proton prefixes when removing overlay registry keys.
* Add few convenience functions in config_helper and paths.
Important changes:
* Refactored QtRequests to accept parameters for `GET` operations
* Infer response data type from content-type header
* Support caching to disk, a manager with this set prefers the cache
* Support multiple handlers for a single request (unused, possibly pointeless)

* Subclass `ShopImageWidget` for all widgets used in the shop
* Request a resized image instead of the original one
* Fix the search and browse functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant