Skip to content

Mac Update Fails #23246

Backlog
Backlog

Description

@sgreasby

The problem

Updates of GitHub Desktop work work properly on Mac if "GitHub Desktop.app" executes out of Applications folder. However, if I attempt to execute the app from an external APFS (case sensitive) formatted drive, then the update causes the existing .app file to be removed but no updated file replaces it. This was observed on a the base model M4 Mac Mini.

The internal flash is case insensitive so this could be a case sensitivity bug in GitHub Desktop. Another likely cause is that the update logic has some dependency on the file being in the internal Applications folder. I do get a warning when I run out of my download folder but do not see the warning when running out of an Applications folder on my external drive. Many people run applications on external drives to avoid playing the apple tax and those apps work fine. Simply displaying a warning and not addressing the root cause behind the issue is not a solution.

Release version

3.7.0 (arm64)

Operating system

Max

Steps to reproduce the behavior

  1. Format external drive to APFX (case sensitive)
  2. Create Applications folder on external drive
  3. Copy an older copy of "GitHub Desktop.app" file to Applications folder on external drive
  4. Execute the app and perform an update.

Log files

N/A

Screenshots

N/A

Additional context

N/A

Activity

  1. added
    bug
    priority-3
    on Nov 28, 2026
  2. desktop-triage commented on Nov 28, 2026

    @desktop-triage

    Triage summary: Classifying as a bug (confidence: MEDIUM) since it describes app update behavior that silently fails (old .app removed, nothing replaces it) with clear repro steps, version (3.7.0), and OS. Priority priority-3 (confidence: MEDIUM) because this only affects the niche case of running from an external, case-sensitive-formatted volume, and a workaround exists (run from the internal /Applications folder). No duplicate found — a search for related update-failure issues (#22713, #22738) turned up reports involving standard internal installs or multi-account config, not external-volume/case-sensitivity specific failures.

    Initial hypothesis: GitHub Desktop's macOS update path delegates entirely to Electron's native autoUpdater (Squirrel.Mac), invoked via autoUpdater.checkForUpdates() in app/src/main-process/app-window.ts lines 449-456, with no custom logic around the app's install location or filesystem type. Desktop does have location-awareness for prompting a move to /Applications (app.isInApplicationsFolder()/moveToApplicationsFolder() in main.ts), but this is only used to suggest moving the app — it doesn't block or adapt the update flow when the user declines and keeps running from an external volume. Squirrel.Mac's update mechanism requires unzipping and atomically swapping the new app bundle in place on the same volume as the running app; this can behave unexpectedly on externally mounted, case-sensitive APFS volumes (e.g., due to extended-attribute/permission handling or temp-extraction-path assumptions), consistent with the observed "old app removed, new one never appears" symptom. This would point to a limitation in Electron's Squirrel.Mac auto-updater when the install path isn't the internal, case-insensitive /Applications volume, rather than something GitHub Desktop's own code actively does wrong — confirming this would need logs from a reproduction (Console.app logs during the failed update, or Desktop's own update event logs) to see where in the Squirrel.Mac flow it fails.

    Generated by Issue Triage (skills-driven) for #23246 · auto · 37.8 AIC · ⊞ 4.7K · ◷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority-3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions