You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to automatically update Windows desktop application due to opencode-cli.exe remaining open. #5819
Title pretty much says it all. After new nightlies release and opencode desk on windows checks for updates it finds a new update (obv) and prompts the user if they would like to restart and update. However the updater fails to update citing the error:
Error opening file for writing:
Click Abort to stop, yadda, yadda, yadda (see attached for full message)
If I open taskmamanger I can see a background process called "Bun" is still running, checking its props said its opencode-cli.exe, killing this process and then pressing retry in the installer allows the updater to complete the update.
OpenCode version
Just tried updating to v1.0.170 via the installer and still got the issue, has been doing it for a while now.
Steps to reproduce
Install Opencode Desktop Windows
wait 24 hours for new nightlies to release
run Opencode Desktop
Press the update prompt to update the app
Get stuck installing the update until opencode-cli.exe is killed or you cancel the update.
You can also repo this by installing latest version, opening opencode desktop,
Both issues report the same error message during file operations on Windows. Feel free to ignore if your specific case involves different circumstances.
Activity
github-actions commentedon Dec 19, 2025
This issue might be a duplicate of existing issues. Please check:
Both issues report the same error message during file operations on Windows. Feel free to ignore if your specific case involves different circumstances.