raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.39k stars 3.09k forks source link

[Brew] ... Brew install cancels if no longer in foreground #14509

Closed anarqist closed 1 month ago

anarqist commented 1 month ago

Extension

https://www.raycast.com/nhojb/brew

Raycast Version

1.82.5

macOS Version

15.0

Description

When you try to install something with the brew extension it works just fine, as long as you keep the window Raycast in the foreground. If you want to multitask something in the meantime and the window is no longer in the foreground it cancels the process.

Steps To Reproduce

  1. Open raycast
  2. type [Search] brew ...
  3. Confirm installation with chosen object
  4. Open another window -> Installation cancels
  5. Keep Raycast in the foreground -> Installation successfully finishes.

Current Behaviour

As soon as the Raycast Window is no longer in the foreground the installation process stops/cancels.

Expected Behaviour

Continue running the command to install Formulae or cask in the background, even when Raycast is no longer in the foreground.

raycastbot commented 1 month ago

Thank you for opening this issue!

🔔 @nhojb @Aayush9029 @mathieudutour @urwrstkn8mare @ashokbaruaakas @MillerApps @pernielsentikaer @jfkisafk @vpukhanov you might want to have a look.

💡 Author and Contributors commands The author and contributors of `nhojb/brew` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot close as not planned` Closes the issue as not planned. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
nhojb commented 1 month ago

Unfortunately this behaviour is inherent to Raycast itself and we can't work-around it. Extensions are unloaded by Raycast when the window is closed by the user or after a set timeout.