The command-line arguments to compare against. Defaults to an empty array.
The executable path to compare against. Defaults to process.execPath.
process.execPath
The name of the service. Required if type is non-default. Only available on macOS 13 and up.
type
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.
mainAppService
agentService
daemonService
loginItemService