Skip to content

fix: remove forceDevUpdateConfig causing update error in dev mode - #85

Open
Longado wants to merge 1 commit into
collabs-inc:mainfrom
Longado:fix/remove-dev-update-config
Open

fix: remove forceDevUpdateConfig causing update error in dev mode#85
Longado wants to merge 1 commit into
collabs-inc:mainfrom
Longado:fix/remove-dev-update-config

Conversation

@Longado

@Longado Longado commented Mar 30, 2026

Copy link
Copy Markdown

Summary

  • Removed autoUpdater.forceDevUpdateConfig = true in the else branch of app.isPackaged check in update-manager.ts
  • This setting attempts to read a dev-app-update.yml file that does not exist in the repo, causing an update failure dialog on every dev mode launch
  • The if (app.isPackaged) guard already ensures update checks only run in production, so the else branch is unnecessary

Test plan

  • Run bun run dev and confirm no update error dialog appears
  • Run bun run build and verify packaged app still checks for updates normally

🤖 Generated with Claude Code

@yiliush

yiliush commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@Longado

Longado commented Mar 30, 2026

Copy link
Copy Markdown
Author

I have read the Contributor License Agreement (CLA) and hereby sign the CLA.

@Longado

Longado commented Mar 30, 2026

Copy link
Copy Markdown
Author

recheck

@Longado

Longado commented Mar 30, 2026

Copy link
Copy Markdown
Author

@yiliushenburke Hi, I've signed the CLA but the bot doesn't seem to have picked it up. The CLA check is still failing. Could you please take a look? Thanks!

`autoUpdater.forceDevUpdateConfig = true` attempts to read a
`dev-app-update.yml` file that does not exist in the repo, causing an
update failure dialog every time the app is started in dev mode.

Since the `if (app.isPackaged)` branch already guards scheduled update
checks, the else branch is unnecessary — simply removing it lets dev
mode skip updates silently.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Longado
Longado force-pushed the fix/remove-dev-update-config branch from 5388580 to dbef874 Compare March 31, 2026 02:16
@Longado

Longado commented Mar 31, 2026

Copy link
Copy Markdown
Author

recheck

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants