Skip to content

Hardware model identifiers#11

Merged
KyNorthstar merged 3 commits intoproductionfrom
feature/hardwareModelIdentifier-parsing
Dec 17, 2025
Merged

Hardware model identifiers#11
KyNorthstar merged 3 commits intoproductionfrom
feature/hardwareModelIdentifier-parsing

Conversation

@KyNorthstar
Copy link
Contributor

@KyNorthstar KyNorthstar commented Dec 17, 2025

This adds support for parsing the full hardware model identifier string from the system into a structured form using Introspection.Device.current.hardwareModelIdentifier, Introspection.Device.hardwareModelIdentifier, or Introspection.Device.HardwareModelIdentifier.current.

This also changes the license from the dubious BH-1-PS to my current default, The Fair License. Any currently-permitted uses & rights are maintained, and basically all others are opened up.

Also refactored private sysctl parser to use safer memory handling.

Adds support for parsing the full hardware model identifier string from the system into a structured form using `Introspection.Device.current.hardwareModelIdentifier`, `Introspection.Device.hardwareModelIdentifier`, or `Introspection.Device.HardwareModelIdentifier.current`.

Also refactored private sysctl parser to use safer memory handling.
No functionality change, just swapping out the previous license for my current default license
@KyNorthstar KyNorthstar added the enhancement New feature or request label Dec 17, 2025
Copy link
Contributor

@Supuhstar Supuhstar left a comment

Choose a reason for hiding this comment

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

LGTM, just needs some docs

@KyNorthstar KyNorthstar merged commit 80eac12 into production Dec 17, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants