Skip to content

fix(desktop): register t3code protocols and NSIS shortcuts on Windows - #20

Merged
gfsaaser24 merged 1 commit into
mainfrom
t3code/win-protocol-shortcuts
Aug 5, 2026
Merged

gfsaaser24 merged 1 commit into
mainfrom
t3code/win-protocol-shortcuts

Conversation

@gfsaaser24

Copy link
Copy Markdown
Owner

Windows installers never registered the t3code:// URL scheme, so the system browser could not hand Clerk OAuth callbacks back to the desktop app, and shortcut creation relied on NSIS defaults that a prior install had lost.

// scripts/build-desktop-artifact.ts — win branch now declares what mac/linux already had
buildConfig.protocols = [{ name: "T3 Turbo", schemes: ["t3code", "t3code-dev"] }];
buildConfig.nsis = {
  createDesktopShortcut: "always",
  createStartMenuShortcut: true,
  shortcutName: "T3 Turbo",
};

Verified in a local dist:desktop:win:x64 build: the NSIS installer registers both schemes and creates Desktop + Start Menu shortcuts.

Fable 5 via T3 Turbo (claudeAgent).

🤖 Generated with Claude Code

…n Windows

Windows builds skipped the t3code:// scheme registration that mac and
linux already had, so browser OAuth callbacks could not return to the
app, and shortcut creation relied on NSIS defaults that a prior install
lost. Declare the protocols for the NSIS installer and force desktop
plus start-menu shortcuts.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:S labels Aug 5, 2026
@gfsaaser24
gfsaaser24 merged commit 61b148b into main Aug 5, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant