[PR #13022] fix(desktop): open apps with executables on Windows #14481

Closed
opened 2026-02-16 18:19:16 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13022

State: closed
Merged: Yes


What does this PR do?

Currently the "Open in" feature in windows uses inherently the .cmd files which also happen to open up a empty terminal.
For me it is quite annoying.

This PR makes it so it tries to use the .exe files and if not it will fallback to the .cmd files again.

Also made the dropdown menu to be statefull so the select will be closed rather than staying open on click

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

https://github.com/user-attachments/assets/ac98fa1f-3fa8-4b9b-86cf-2c3c76e171a2

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13022 **State:** closed **Merged:** Yes --- ### What does this PR do? Currently the "Open in" feature in windows uses inherently the `.cmd` files which also happen to open up a empty terminal. For me it is quite annoying. This PR makes it so it tries to use the `.exe` files and if not it will fallback to the `.cmd` files again. Also made the dropdown menu to be statefull so the select will be closed rather than staying open on click **If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!** ### How did you verify your code works? https://github.com/user-attachments/assets/ac98fa1f-3fa8-4b9b-86cf-2c3c76e171a2
yindo added the pull-request label 2026-02-16 18:19:16 -05:00
yindo closed this issue 2026-02-16 18:19:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14481