fix: loginService -> loginItemService (#42380)

fix: loginService -> loginItemService
This commit is contained in:
Shelley Vohr
2024-06-07 11:49:00 +02:00
committed by GitHub
parent d97dcf388a
commit 2f0fdfd51e

View File

@@ -128,7 +128,7 @@ SMAppService* GetServiceForType(const std::string& type,
return [SMAppService agentServiceWithPlistName:service_name];
} else if (type == "daemonService") {
return [SMAppService daemonServiceWithPlistName:service_name];
} else if (type == "loginService") {
} else if (type == "loginItemService") {
return [SMAppService loginItemServiceWithIdentifier:service_name];
} else {
LOG(ERROR) << "Unrecognized login item type";