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

macOS Sequoia+ Private Wifi Address Fix #42

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

samuelzamvil
Copy link

Changes

  • Fixed MAC address resolution for macOS Sequoia+ to correctly handle private Wi-Fi addresses by introducing a platform-specific check for macOS with release version 24 or higher.
  • Added a new module for macOS (getmacaddress_darwin.js) to resolve MAC addresses using the networksetup utility.

Affected Files

  • index.js
  • lib/getmacaddress.js
  • lib/platform/getmacaddress_darwin.js

Changes
* Fixed MAC address resolution for macOS Sequoia+ to correctly handle private Wi-Fi addresses by introducing a platform-specific check for macOS with release version 24 or higher.
* Added a new module for macOS (`getmacaddress_darwin.js`) to resolve MAC addresses using the `networksetup` utility.

Affected Files
* `index.js`
* `lib/getmacaddress.js`
* `lib/platform/getmacaddress_darwin.js`
…s module and running getmacaddress if on macOS Sequoia+. This fixed all the issues of returning the wrong mac address when testing test.js.
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