Skip to content

Commit cf9c858

Browse files
committed
fix: fixed Fan helper installation process by using System over domain for launchd (#3008)
1 parent 765ead9 commit cf9c858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Kit/helpers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ public class SMCHelper {
993993
}
994994

995995
var error: Unmanaged<CFError>?
996-
if SMJobBless(kSMDomainUserLaunchd, "eu.exelban.Stats.SMC.Helper" as CFString, authRef, &error) == false {
996+
if SMJobBless(kSMDomainSystemLaunchd, "eu.exelban.Stats.SMC.Helper" as CFString, authRef, &error) == false {
997997
let blessError = error!.takeRetainedValue() as Error
998998
print("Error while installing the Helper: \(blessError.localizedDescription)")
999999
completion(false)

0 commit comments

Comments
 (0)