Contents

Clipy/LoginServiceKit

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

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.

[!NOTE] On macOS 13 and later, prefer using SMAppService or LaunchAtLogin-Modern instead of this library.

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)

Package Metadata

Repository: Clipy/LoginServiceKit

Homepage: https://clipy-app.com

Stars: 118

Forks: 13

Open issues: 0

Default branch: master

Primary language: swift

License: Apache-2.0

Topics: clipy, login, login-system, macos, swift

README: README.md

Archived: yes