Skip Brave Origin startup dialog in Hub launcher
This commit is contained in:
@@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
Sovran Hub launcher runs it.
|
Sovran Hub launcher runs it.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- The Hub launcher now passes `--skip-origin-startup-dialog` to Brave
|
||||||
|
Origin so its one-time "Proceed with Origin for free on Linux" onboarding
|
||||||
|
screen doesn't reappear (and block auto-login) on every launch, since the
|
||||||
|
Hub runs with a throwaway profile.
|
||||||
- The Hub now redirects to the login page when an API request finds an
|
- The Hub now redirects to the login page when an API request finds an
|
||||||
expired browser session, instead of leaving the dashboard tile grid in a
|
expired browser session, instead of leaving the dashboard tile grid in a
|
||||||
loading state while `/api/services` continues returning 401 every five
|
loading state while `/api/services` continues returning 401 every five
|
||||||
|
|||||||
@@ -292,7 +292,11 @@ let
|
|||||||
trap '[ -n "$HUB_DATA" ] && rm -rf "$HUB_DATA"' EXIT INT TERM
|
trap '[ -n "$HUB_DATA" ] && rm -rf "$HUB_DATA"' EXIT INT TERM
|
||||||
export BAMF_DESKTOP_FILE_HINT="/run/current-system/sw/share/applications/sovran-hub.desktop"
|
export BAMF_DESKTOP_FILE_HINT="/run/current-system/sw/share/applications/sovran-hub.desktop"
|
||||||
export GIO_LAUNCHED_DESKTOP_FILE="/run/current-system/sw/share/applications/sovran-hub.desktop"
|
export GIO_LAUNCHED_DESKTOP_FILE="/run/current-system/sw/share/applications/sovran-hub.desktop"
|
||||||
|
# The Hub launches with a throwaway profile, so Brave Origin's one-time
|
||||||
|
# "Proceed with Origin for free on Linux" onboarding dialog would reappear
|
||||||
|
# on every launch and block the auto-login. Skip it (Linux-only switch).
|
||||||
brave-origin --app=http://localhost:8937/auto-login \
|
brave-origin --app=http://localhost:8937/auto-login \
|
||||||
|
--skip-origin-startup-dialog \
|
||||||
--class=sovran-hub \
|
--class=sovran-hub \
|
||||||
--user-data-dir="$HUB_DATA" \
|
--user-data-dir="$HUB_DATA" \
|
||||||
--password-store=basic \
|
--password-store=basic \
|
||||||
|
|||||||
Reference in New Issue
Block a user