For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/lynxtron/api/@lynx-js/lynxtron/Interface.LoginItemSettingsOptions.md.
  • 简体中文
  • @lynx-js/lynxtron / LoginItemSettingsOptions

    LoginItemSettingsOptions

    属性

    args?
    Windows

    optional args: string[];

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

    定义于

    apis/api/app.d.ts:218


    path?
    Windows

    optional path: string;

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

    定义于

    apis/api/app.d.ts:212


    serviceName?
    macOS

    optional serviceName: string;

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

    定义于

    apis/api/app.d.ts:206


    type?
    macOS

    optional 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.

    定义于

    apis/api/app.d.ts:199

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。