diff --git a/CHANGELOG.md b/CHANGELOG.md index adadfb5..b63e286 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Sovran Hub launcher runs it. ### 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 expired browser session, instead of leaving the dashboard tile grid in a loading state while `/api/services` continues returning 401 every five diff --git a/modules/core/sovran-hub.nix b/modules/core/sovran-hub.nix index a2624f4..a195937 100644 --- a/modules/core/sovran-hub.nix +++ b/modules/core/sovran-hub.nix @@ -292,7 +292,11 @@ let 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 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 \ + --skip-origin-startup-dialog \ --class=sovran-hub \ --user-data-dir="$HUB_DATA" \ --password-store=basic \