GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(desktop): isolate fork build variant branding and user data paths by wianvdm · Pull Request #2 · wianvdm/t3code

Conversation

@wianvdm

@wianvdm wianvdm commented Oct 22, 2026

Copy link
Copy Markdown
Owner

Problem

Running or packaging a custom fork alongside official T3 Code builds causes collisions across user state directories (~/.t3), Chromium user data profiles (t3code-v2), Windows safeStorage encryption keys, application user model IDs, and auto-updater release feeds.

Change

  • Add DesktopVariant (apps/desktop/src/app/DesktopVariant.ts) and build-time variant helpers (scripts/lib/desktop-variant.ts) supporting "official" and "fork" variants via stamped t3codeDesktopVariant in packaged package.json or T3CODE_DESKTOP_VARIANT=fork in unpackaged runs.
  • Isolate fork base state directory to ~/.t3-fork and Chromium userData directory to t3code-fork, skipping official Chromium profile and Windows safeStorage credential migration on fork builds.
  • Brand fork builds as "T3 Code (Fork)" with appId com.wianvdm.t3code.fork, artifact template T3-Code-Fork-${version}-${arch}.${ext}, and Windows icon assets/fork/t3-fork-windows.ico.
  • Route fork auto-updater publish config to WianVDM/t3code by default so fork builds never poll the official update feed.

Scope and approval

Focused build and runtime configuration option (T3CODE_DESKTOP_VARIANT=fork) that defaults to "official" and leaves official builds and runtime behavior completely unchanged.

Verification

  • vp test run apps/desktop/src/app/DesktopEnvironment.test.ts apps/desktop/src/app/DesktopVariant.test.ts (14 passed)
  • vp test run apps/desktop/src/app/DesktopUserData.test.ts (fork profile isolation and Windows credential key preservation passed)
  • vp test run scripts/build-desktop-artifact.test.ts -t "fork|variant" (11 passed)

Models and harnesses (via T3 Code):

  • Orchestrator / Judge / Reviewer: Gemini 4 Argon & Gemini 3.8 Flash (Antigravity)
  • Implementation & Research Subagents: Claude Opus 5.5, Claude Haiku 5.5 (Claude Code), Kimi K3 256K (Pi)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Wian van der Merwe
feat(desktop): isolate fork build variant branding and user data paths
278cce8
Running or packaging a custom fork alongside official T3 Code builds
can cause collisions across user profiles, Chromium safeStorage
credentials, app identity, and update feeds.

Add support for a dedicated "fork" desktop build and runtime variant:
- Introduce `DesktopVariant` to detect official vs fork builds via a stamped `t3codeDesktopVariant` in packaged `package.json` or `T3CODE_DESKTOP_VARIANT` in unpackaged runs
- Isolate the state base directory to `~/.t3-fork` and user data directory to `t3code-fork`, avoiding Chromium profile and Windows safeStorage migration from official installs
- Brand the application as "T3 Code (Fork)" with application ID `com.wianvdm.t3code.fork` and dedicated Windows icon assets
- Route auto-updater manifests to `WianVDM/t3code` by default for fork builds while keeping official update feeds untouched
@wianvdm
wianvdm merged commit 6460ba9 into main Oct 22, 2026
@wianvdm
wianvdm deleted the desktop-fork-variant branch October 22, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@wianvdm
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.