From 25ed28670693525abd2a98ebbff75a2c7d10c155 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Fri, 7 Jun 2024 11:49:00 +0200 Subject: [PATCH] fix: `loginService` -> `loginItemService` (#42380) fix: loginService -> loginItemService --- shell/common/platform_util_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/common/platform_util_mac.mm b/shell/common/platform_util_mac.mm index 32972a5dfe44..ad9b51a576cb 100644 --- a/shell/common/platform_util_mac.mm +++ b/shell/common/platform_util_mac.mm @@ -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";