Easy manage login items in macOS.
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)
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.
link |
Stars: 83 |
Last commit: 2 weeks ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco