1
0
Fork 0
mirror of synced 2024-06-26 18:20:50 +12:00
Rare/rare
loathingKernel 88b6e91530 BrowserLogin: Add dedicated application mode to Rare for the webview login page
Add a sub-application to Rare to launch the webview for logging into EGS.
The sub-application operates similatly to the `laucher` sub-application and
it is autonomous. After a successful login in returns the exchange code
to the standard output to be parsed and used by the login dialog.

The reason this implementation was chosen is because when pywebview uses
pyqtwebengine as the GUI library, we cannot launch it through Rare as
it tries to spawn a QMainWindow inside an existing event loop, which is
prohibited by Qt.

Despite that, EGS login page doesn't work correctly with QtWebEngine,
so on linux default to the GTK backend for pywebview, and this change
helps keeping applications using different toolkits separate.

At this moment, spawning the sub-application blocks the execution of the
main application.

This change should make it easier to authenticate through Rare inside
a gamescope session, such as the steam deck.
2024-02-12 21:51:42 +02:00
..
components BrowserLogin: Add dedicated application mode to Rare for the webview login page 2024-02-12 21:51:42 +02:00
launcher Launcher: Add Homeworld Remastered Collection to the do-not-attach list 2024-01-29 16:20:30 +02:00
lgndr Lgdnr: Check for old_igame before writing tags 2024-01-18 16:43:06 +02:00
models GameInfo: Show cover image in color despite installation status 2024-01-29 16:21:19 +02:00
resources ListGameWidget: Make Launch/Install buttons larger and the widget itself smaller 2024-01-29 16:18:21 +02:00
shared EosOverlay: Fix a few remaining issues 2024-01-19 14:54:09 +02:00
ui Ui: Delete unused pathedit ui 2024-01-29 16:21:32 +02:00
utils Runners: disable some pylint checks for vdf 2024-01-22 00:38:09 +02:00
webview BrowserLogin: Add dedicated application mode to Rare for the webview login page 2024-02-12 21:51:42 +02:00
widgets Dialogs: Add subtitle label in ButtonDialog 2024-01-21 23:45:23 +02:00
__init__.py Rare: Release 1.10.11 2023-12-20 11:25:29 +02:00
__main__.py Rare: Update scripts to use the new entry point 2023-12-10 14:21:36 +02:00
main.py BrowserLogin: Add dedicated application mode to Rare for the webview login page 2024-02-12 21:51:42 +02:00