Skip to content

Your team of AI agents, on your Mac, Windows or Linux. Agents that talk in channels, write code, review each other and use your tools, on the Claude Code, Codex, OpenCode or Pi you already have. Anything that touches the real world waits for your yes.

Open the app unpacked even when its version isn't one the updater accepts (#123)

Bruno1f86d8df4608
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f17b49f..ae202f5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ What changed in each version of Tucano. The format follows [Keep a Changelog](ht
> - **O navegador dos agentes abre páginas num servidor Linux que é um PC.** O Chrome esperava o chaveiro bloqueado da área de trabalho e nenhuma página carregava; no servidor ele agora usa o próprio armazenamento.
> - **A página do servidor abre por HTTP num endereço privado,** como o Tailscale ou a rede de casa. Ela ficava em branco.
> - **Um agente só acorda outro quando precisa.** Quando um agente menciona outro na resposta, o router lê e chama só quem tem algo a fazer: um agradecimento ou um “combinado” não acordam ninguém. Na dúvida, chama.
+> - **O app abre fora do instalador mesmo com uma versão estranha.** O atualizador, que nem é usado ali, conferia a versão ao abrir e derrubava o app.
### Changed
@@ -19,6 +20,7 @@ What changed in each version of Tucano. The format follows [Keep a Changelog](ht
- **Long conversations stay light while an agent replies.** Each streamed word redrew and re-parsed every message in the list, keeping the window busy on long conversations. Now only the message that changed is drawn again.
- **An agent's browser loads pages on a Linux server that is a desktop PC.** Chrome waited for the desktop's locked keyring before its first page and never got it, so every page hung. On a server it now uses its own cookie store; a desktop keeps the keyring.
- **The server's page opens over plain HTTP on a private address,** such as Tailscale or a home network. It stayed blank: a browser outside a secure context has no `crypto.randomUUID`, which the app calls as it starts. The page now brings a small replacement for it, and one for the copy buttons.
+- **The app opens unpacked even when its version isn't one the updater accepts.** The updater was made as the app started, and making it checks the version, so an unpacked build reporting one like `0.0` stopped before its window opened. It's now made only when updates are on. Thanks [@b7s](https://github.com/b7s)! ([#123](https://github.com/eduwxyz/tucano/pull/123))
## [0.2.11] - 2026-11-05
diff --git a/src/main/updates.ts b/src/main/updates.ts
index ea8034d..fbbc95d 100644
--- a/src/main/updates.ts
+++ b/src/main/updates.ts
@@ -15,7 +15,11 @@ const EVERY_MS = 4 * 3_600_000
export class Updates {
private state: UpdateState
private timer: NodeJS.Timeout | null = null
- private readonly updater = electronUpdater.autoUpdater
+ // Made when first used: making it reads the app's version, and an unpacked build's may not be one
+ // it accepts, which would stop the app from opening. With updates off it's never used.
+ private get updater() {
+ return electronUpdater.autoUpdater
+ }
constructor(private readonly onChange: (s: UpdateState) => void) {
// A test points the app at a local server instead of GitHub.