diff --git a/apps/shell/src/main/index.ts b/apps/shell/src/main/index.ts index 4e67450..b80dc02 100644 --- a/apps/shell/src/main/index.ts +++ b/apps/shell/src/main/index.ts @@ -303,10 +303,8 @@ function currentTheme(): UiTheme { } // ---- first-run onboarding ---- -// The GenTeam community page opened from the onboarding's second slide. -// Stable short link served by the genoffice.ai site; it 302s to the tokened -// invite link, which stays out of this repo and rotates server-side. -const GENTEAM_URL = 'https://www.genspark.ai/hermesoffice/join' +// Fork: link de comunidade abre o repo do HermesOffice. +const HERMESOFFICE_REPO_URL = 'https://github.com/criptogus/HermesOffice' // Genspark credit-usage page opened from the account menu's credits row. // Kept main-side so the renderer never supplies the URL. @@ -2328,8 +2326,8 @@ function registerHomeIpc(): void { return picked }) - ipcMain.handle(HOME_CHANNELS.openGenTeam, () => { - shell.openExternal(GENTEAM_URL).catch(() => { + ipcMain.handle(HOME_CHANNELS.openGitHub, () => { + shell.openExternal(HERMESOFFICE_REPO_URL).catch(() => { // no browser handler available; nothing actionable for the user here }) }) diff --git a/apps/shell/src/preload/index.ts b/apps/shell/src/preload/index.ts index 5b207a8..5293a1d 100644 --- a/apps/shell/src/preload/index.ts +++ b/apps/shell/src/preload/index.ts @@ -189,8 +189,8 @@ const homeApi: HomeApi = { ipcRenderer.on('app:theme-changed', listener) return () => ipcRenderer.removeListener('app:theme-changed', listener) }, - async openGenTeam() { - await ipcRenderer.invoke(HOME_CHANNELS.openGenTeam) + async openGitHub() { + await ipcRenderer.invoke(HOME_CHANNELS.openGitHub) }, async openCreditUsage() { await ipcRenderer.invoke(HOME_CHANNELS.openCreditUsage) diff --git a/apps/shell/src/renderer/src/Onboarding.tsx b/apps/shell/src/renderer/src/Onboarding.tsx index 59d9459..825cf11 100644 --- a/apps/shell/src/renderer/src/Onboarding.tsx +++ b/apps/shell/src/renderer/src/Onboarding.tsx @@ -17,7 +17,7 @@ interface Slide { bodyKey?: StringKey /** render the body in the dimmer footnote gray (slide 3's credits disclaimer) */ bodyDim?: boolean - /** community slide shows the credits offer panel with the "Join GenTeam" call-to-action */ + /** community slide shows the open-source offer panel with a "Contribute on GitHub" call-to-action */ showOffer?: boolean /** Hermes slide shows the live gateway status with a retry button */ showHermes?: boolean @@ -69,7 +69,7 @@ function HermesConnect({ active }: { active: boolean }) { {t('onbHermesRetry')} )} -