跳转至

ShortcutDetails Object

  • target string - 要从该快捷方式启动的目标。
  • cwd string (optional) - 工作目录。默认为空。
  • args string (optional) - 从该快捷方式启动时,要应用于 target 的参数。默认为空。
  • description string (optional) - 快捷方式的描述。默认为空。
  • icon string (optional) - 图标的路径,可以是 DLL 或 EXE。icon 和 iconIndex 必须一起设置。默认为空,此时使用目标的图标。
  • iconIndex number (optional) - 当 icon 是 DLL 或 EXE 时的图标资源 ID。默认为 0。
  • appUserModelId string (optional) - 应用程序用户模型 ID。默认为空。
  • toastActivatorClsid string (optional) - 应用程序 Toast 激活器 CLSID。参与操作中心时需要此项。

本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 el/electron