LoginItemSettingsOptions

external interface LoginItemSettingsOptions(source)

Properties

Link copied to clipboard
abstract var args: ReadonlyArray<String>?

The command-line arguments to compare against. Defaults to an empty array.

Link copied to clipboard
abstract var path: String?

The executable path to compare against. Defaults to process.execPath.

Link copied to clipboard
abstract var serviceName: String?

The name of the service. Required if type is non-default. Only available on macOS 13 and up.

Link copied to clipboard
abstract var type: String?

Can be one of mainAppService, agentService, daemonService, or loginItemService. Defaults to mainAppService. Only available on macOS 13 and up. See app.setLoginItemSettings for more information about each type.