From 3ef97a61b9f1fe7247df6be83fd6d4a49e531c1a Mon Sep 17 00:00:00 2001 From: brooklyn! Date: Sun, 31 May 2026 17:53:35 -0500 Subject: [PATCH] fix(desktop): track main for self-update now that GUI merged (#36104) The desktop self-update branch defaulted to bb/gui, the pre-merge feature branch. Now that the desktop app is on main, flip DEFAULT_UPDATE_BRANCH to main so freshly built apps check for updates against the right branch instead of relying on the runtime self-heal fallback. --- apps/desktop/electron/main.cjs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/desktop/electron/main.cjs b/apps/desktop/electron/main.cjs index 8518b0eadce..6af34b653ca 100644 --- a/apps/desktop/electron/main.cjs +++ b/apps/desktop/electron/main.cjs @@ -188,10 +188,10 @@ const BOOTSTRAP_MARKER_SCHEMA_VERSION = 1 const DESKTOP_CONNECTION_CONFIG_PATH = path.join(app.getPath('userData'), 'connection.json') const DESKTOP_UPDATE_CONFIG_PATH = path.join(app.getPath('userData'), 'updates.json') -// Branch we track for self-update. Flip to 'main' once the GUI work merges — -// single field edit, no rebuild required. User can also override at runtime -// via hermesDesktop.updates.setBranch(). -const DEFAULT_UPDATE_BRANCH = 'bb/gui' +// Branch we track for self-update. The GUI work has merged to main, so this +// tracks main. User can also override at runtime via +// hermesDesktop.updates.setBranch(). +const DEFAULT_UPDATE_BRANCH = 'main' // desktop.log lives under HERMES_HOME/logs/ so it sits next to agent.log, // errors.log, gateway.log produced by hermes_logging.setup_logging — one log // directory per user, regardless of which UI surface produced the line.