fix: fixed Fan helper installation process by using System over domain for launchd (#3008)

This commit is contained in:
Serhiy Mytrovtsiy
2026-04-09 17:13:02 +02:00
parent 765ead915d
commit cf9c858bda

View File

@@ -993,7 +993,7 @@ public class SMCHelper {
}
var error: Unmanaged<CFError>?
if SMJobBless(kSMDomainUserLaunchd, "eu.exelban.Stats.SMC.Helper" as CFString, authRef, &error) == false {
if SMJobBless(kSMDomainSystemLaunchd, "eu.exelban.Stats.SMC.Helper" as CFString, authRef, &error) == false {
let blessError = error!.takeRetainedValue() as Error
print("Error while installing the Helper: \(blessError.localizedDescription)")
completion(false)