Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finding connected Wi-Fi network no longer works in macOS 15 #31

Open
Jan-Dovetail opened this issue Oct 1, 2024 · 0 comments
Open

Finding connected Wi-Fi network no longer works in macOS 15 #31

Jan-Dovetail opened this issue Oct 1, 2024 · 0 comments

Comments

@Jan-Dovetail
Copy link

This line:
https://github.com/kandji-inc/support/blob/f14e634985ca25317823190a65e41c9210f7254b/Scripts/removeGuestNetwork.zsh#L74C1-L74C110

Can be replaced by this line in order to work with macOS 15:
currentNetwork="$(/usr/libexec/PlistBuddy -c 'Print :0:_items:0:spairport_airport_interfaces:0:spairport_current_network_information:_name' /dev/stdin <<< "$(system_profiler SPAirPortDataType -xml)" 2> /dev/null)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant