Skip to content

Fix users who installed intel builds on arm macs#641

Merged
t3dotgg merged 1 commit intomainfrom
theo/wrong-arch
Mar 9, 2026
Merged

Fix users who installed intel builds on arm macs#641
t3dotgg merged 1 commit intomainfrom
theo/wrong-arch

Conversation

@t3dotgg
Copy link
Member

@t3dotgg t3dotgg commented Mar 9, 2026

ugh.

Note

Detect Apple Silicon hosts running Intel desktop builds and configure updater to disable differential downloads and surface an in-app ARM-switch warning in main.ts and Sidebar.tsx

Add runtime arch detection via runtimeArch.resolveDesktopRuntimeInfo, pass arch fields into updateMachine.createInitialDesktopUpdateState, set autoUpdater.disableDifferentialDownload when runtimeArch.isArm64HostRunningIntelBuild is true, and show a sidebar alert with an action to switch to the ARM build.

📍Where to Start

Start with runtime detection in resolveDesktopRuntimeInfo in runtimeArch.ts, then follow usage in main.ts and propagation into createInitialDesktopUpdateState in updateMachine.ts.

Macroscope summarized a8a5d47.

@github-actions github-actions bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Mar 9, 2026
@coderabbitai
Copy link

coderabbitai bot commented Mar 9, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 84517b8c-81ce-44f7-ab66-1150f8a6feaa

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • ✅ Review completed - (🔄 Check again to review again)
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch theo/wrong-arch

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@binbandit binbandit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@t3dotgg t3dotgg merged commit 304a14d into main Mar 9, 2026
7 checks passed
@t3dotgg t3dotgg deleted the theo/wrong-arch branch March 9, 2026 11:01
raphaelluethy pushed a commit to raphaelluethy/t3code that referenced this pull request Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants