raycast / extensions

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

[Wi-Fi] Toggle wifi shows error if MenuBar wifi is not activated #13736

Closed CharbelFarah closed 2 months ago

CharbelFarah commented 2 months ago

Extension

https://www.raycast.com/koinzhang/wi-fi

Raycast Version

1.79.1

macOS Version

Sonoma 14.2.1

Description

Error:

Error: Command "Menubar Wi-Fi" must be activated before it can be run in the background

Steps To Reproduce

  1. Do not Activate (or Deactivate) MenuBar Wifi in extension settings
  2. Run command "Toggle Wi-Fi" from Raycast menu
  3. Wait a little, Wi-Fi will be turned on/off but you will get this error in the Raycast menu image

Current Behaviour

Toggle "Wi-Fi" throws an error related to Wi-Fi MenuBar being inActive

Expected Behaviour

Even if Wi-Fi was turned on/off, it should not throw an error related to Wi-Fi MenuBar being inActive

raycastbot commented 2 months ago

Thank you for opening this issue!

🔔 @koinzhang @louishuyng you might want to have a look.

💡 Author and Contributors commands The author and contributors of `koinzhang/wi-fi` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@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.
koinzhang commented 2 months ago

Fixed in https://github.com/raycast/extensions/pull/13738 @raycastbot close this issue Closes the issue.