Skip to content
Source
Sign inSign up
pingdotgg/t3code

Fix users who installed intel builds on arm macs #641

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/641/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

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.
    1. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

    2. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      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.

Sign in to join this conversation.