Skip to content

Update SSID retrieval method post-macOS 15 (Seqouia). #33

Open
pbernicchi wants to merge 6 commits intoeprev:masterfrom
pbernicchi:master
Open

Update SSID retrieval method post-macOS 15 (Seqouia). #33
pbernicchi wants to merge 6 commits intoeprev:masterfrom
pbernicchi:master

Conversation

@pbernicchi
Copy link

For macOS 15 (Sequoia) and newer versions, several modern alternatives exist to retrieve the current Wi-Fi SSID from the command line, as the legacy airport utility contained in /System/Library/PrivateFrameworks/Apple80211.framework has been deprecated.

Apple recommended wdutil as the intended replacement for airport but this requires sudo to run - infeasible as a LaunchAgent. The proposed method in this PR does the same thing and respects SSIDs with spaces.

Developed and tested under macOS 26.3.1 (Tahoe)

Note: I have incorporated this into my own fork at https://github.com/pbernicchi/locationchanger if you wish to transfer this repo to me, given the inactivity or I can make my forked repo standalone. With gratitude, of course, since I have been using this script for YEARS and I recall you doing us a solid by updating it about 5 years ago.

Updated README to clarify functionality and installation instructions, including script origin and usage notes.
Added additional copyright notice for 2020-2021.
<dict>
<key>Label</key>
<string>org.eprev.locationchanger</string>
<string>org.pbernicchi.locationchanger</string>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IF you are interested in merging this change and remaining active, I'd ask you to change this plist label back to com.eprev.locationchanger - I didn't catch it before I pushed my fork upstream.

@pbernicchi
Copy link
Author

See comment in locationchanger.sh, L87

Added contribution guidelines and licensing information for the forked project.
Added attribution information and updated license clarification.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant