From bf18eb9cb6dd7fd28620ff65a7172d1707d17504 Mon Sep 17 00:00:00 2001 From: Gustavo Caetano Date: Wed, 2 Sep 2026 12:37:44 -0300 Subject: [PATCH] fix(onboarding): remove GenTeam e promessa de credits (outro produto) do first-run O slide 2 do onboarding promovia a plataforma GenOffice/GenTeam e a recompensa '1.000+ Hermes credits', moeda que nao existe no fork HermesOffice. Reescreve a copia nas 19 linguas para apontar para o GitHub do projeto (open source) e renomeia openGenTeam/open-genteam para openGitHub/open-github. GENTEAM_URL agora leva ao repo do fork. --- apps/shell/src/main/index.ts | 10 +- apps/shell/src/preload/index.ts | 4 +- apps/shell/src/renderer/src/Onboarding.tsx | 12 +-- apps/shell/src/renderer/src/strings.ts | 114 ++++++++++----------- apps/shell/src/shared/home-api.ts | 6 +- 5 files changed, 72 insertions(+), 74 deletions(-) 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')} )} -