Easy manage login items for macOS. Not support Sandbox application.
See the codeEasy manage login items for macOS. Not support Sandbox application.
LoginServiceKit uses an API that has been deprecated since macOS 10.11 El Capitan. However, there is no API migration destination that meets the current specifications. Therefore, this library will be discontinued when the API used is discontinued.
See this issue for more details.
[!NOTE] On macOS 13 and later, prefer using SMAppService or LaunchAtLogin-Modern instead of this library.
pod 'LoginServiceKit', :git => 'https://github.com/Clipy/LoginServiceKit'
github "Clipy/LoginServiceKit"
let isExistLoginItem = LoginServiceKit.isExistLoginItems() // default Bundle.main.bundlePath
or
let isExistLoginItem = LoginServiceKit.isExistLoginItems(at: Bundle.main.bundlePath)
LoginServiceKit.addLoginItems() // default Bundle.main.bundlePath
or
LoginServiceKit.addLoginItems(at: Bundle.main.bundlePath)
LoginServiceKit.removeLoginItems() // default Bundle.main.bundlePath
or
LoginServiceKit.removeLoginItems(at: Bundle.main.bundlePath)
193 followers · starred Aug 2022
146 followers · starred Jan 2019
Swift
92.1%
Objective-C
5.6%
Ruby
2.2%
Easy manage login items for macOS. Not support Sandbox application.
See the codeEasy manage login items for macOS. Not support Sandbox application.
LoginServiceKit uses an API that has been deprecated since macOS 10.11 El Capitan. However, there is no API migration destination that meets the current specifications. Therefore, this library will be discontinued when the API used is discontinued.
See this issue for more details.
[!NOTE] On macOS 13 and later, prefer using SMAppService or LaunchAtLogin-Modern instead of this library.
pod 'LoginServiceKit', :git => 'https://github.com/Clipy/LoginServiceKit'
github "Clipy/LoginServiceKit"
let isExistLoginItem = LoginServiceKit.isExistLoginItems() // default Bundle.main.bundlePath
or
let isExistLoginItem = LoginServiceKit.isExistLoginItems(at: Bundle.main.bundlePath)
LoginServiceKit.addLoginItems() // default Bundle.main.bundlePath
or
LoginServiceKit.addLoginItems(at: Bundle.main.bundlePath)
LoginServiceKit.removeLoginItems() // default Bundle.main.bundlePath
or
LoginServiceKit.removeLoginItems(at: Bundle.main.bundlePath)
193 followers · starred Aug 2022
146 followers · starred Jan 2019
Swift
92.1%
Objective-C
5.6%
Ruby
2.2%