Skip to content

Commit

Permalink
fix: reallow compile
Browse files Browse the repository at this point in the history
  • Loading branch information
khcrysalis committed Aug 1, 2024
1 parent 13f7aa0 commit 27918a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions palera1nLoader/Configuration/Status.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class Status {
#endif
}()
}

#if !targetEnvironment(simulator)
static func bootmanifestHash() -> String? {
let registryEntry = IORegistryEntryFromPath(kIOMasterPortDefault, "IODeviceTree:/chosen")

Expand All @@ -69,7 +69,7 @@ class Status {

return bootManifestHash.map { String(format: "%02X", $0) }.joined()
}

#endif
static public func installation() -> jbStatus {
#if targetEnvironment(simulator)
return .simulated
Expand Down

0 comments on commit 27918a9

Please sign in to comment.