Skip to content

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