lazy-connect icon indicating copy to clipboard operation
lazy-connect copied to clipboard

Support for Apple BigSur

Open ckzgraphics opened this issue 3 years ago • 1 comments

Hello team - I have been using lazy-connect on Mojave. After upgrading to Big Sur it stopped working. Now it throws the following error -

Storing secret in keychain... 97:153: execution error: System Events got an error: Can’t get menu bar 1 of process “SystemUIServer”. Invalid index. (-1719) Storing the VPN list...

It would be great if the team could add support for Big Sur

These resources might help

  • https://www.geofftaylor.me/2020/scripting-the-menu-bar-in-macos-big-sur/
  • https://stackoverflow.com/questions/29699577/applescript-click-menu-bar-option
  • https://www.reddit.com/r/applescript/comments/ivx3uc/big_sur_beta_cant_get_menu_bar_item_notification/

ckzgraphics avatar Jun 18 '21 11:06 ckzgraphics

@ckzgraphics lazy-connect is working fine on my laptop (Big Sur) if you tick the "Show VPN status in menu bar" (Go to the System Preferences > Network > Select the VPN > tick the "Show VPN status in menu bar").

show_vpn_status_menu_bar 2

Hope this help

gifff avatar Mar 10 '22 09:03 gifff