1
0
Fork 0
mirror of synced 2024-05-03 20:23:01 +12:00
Commit graph

5 commits

Author SHA1 Message Date
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
loathingKernel fc3e584e57
Package: Update requirements 2023-11-28 15:01:53 +02:00
ffqq be62f22916 fix: patch up some holes here and there 2023-07-16 20:40:25 +03:00
Stelios Tsampas 9d28680804 Build: enable console output on windows if it is a test build 2022-09-13 12:38:43 +03:00
Stelios Tsampas 69ba61abd2 Split requirements.txt 2022-09-09 20:54:34 +03:00