LoginServiceKit

2.4.0

Easy manage login items for macOS. Not support Sandbox application.
Clipy/LoginServiceKit

What's New

v2.4.0

2022-04-25T04:15:20Z

Breaking Changes

  • None.

Bugfixes

LoginServiceKit

CI Release version License: Apache-2.0 Carthage compatible SPM supported

Easy manage login items for macOS. Not support Sandbox application.

Usage

CocoaPods

pod 'LoginServiceKit', :git => 'https://github.com/Clipy/LoginServiceKit'

Carthage

github "Clipy/LoginServiceKit"

Example

Check exist login item

let isExistLoginItem = LoginServiceKit.isExistLoginItems() // default Bundle.main.bundlePath

or

let isExistLoginItem = LoginServiceKit.isExistLoginItems(at: Bundle.main.bundlePath)

Add login item

LoginServiceKit.addLoginItems() // default Bundle.main.bundlePath

or

LoginServiceKit.addLoginItems(at: Bundle.main.bundlePath)

Remove login item

LoginServiceKit.removeLoginItems() // default Bundle.main.bundlePath

or

LoginServiceKit.removeLoginItems(at: Bundle.main.bundlePath)

About Deprecated APIs

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.

Description

  • Swift Tools 5.1.0
View More Packages from this Author

Dependencies

  • None
Last updated: Sat Sep 10 2022 22:22:42 GMT-0500 (GMT-05:00)