Skip to content

Commit

Permalink
Merge branch 'main' into deployment-target-macos-12
Browse files Browse the repository at this point in the history
  • Loading branch information
F1248 committed Dec 28, 2024
2 parents bde8b07 + 5c1bbdb commit a95747e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Genius/Models/SystemInformation/Hardware.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ extension SystemInformation {
"""
return String(Network.transferURL(url)?.between(start: "<configCode>", end: "</configCode>"))
}() ?? name.value)
static let identifier = SystemInformationData<String?>(Sysctl.read("hw.product"))
static let identifier = SystemInformationData<String?>(IORegistry(class: "IOPlatformExpertDevice").read("model"))
static let number = SystemInformationData<String?>(
{
guard
Expand Down

0 comments on commit a95747e

Please sign in to comment.