programstring - Path of the program to execute, usually you should specify process.execPath which opens the current program.要执行的程序的路径,通常您应该指定process.execPath来打开当前程序。
argumentsstring - The command line arguments when program is executed.program执行时的命令行参数。
titlestring - The string to be displayed in a JumpList.要在JumpList中显示的字符串。
descriptionstring - Description of this task.此任务的描述。
iconPathstring - The absolute path to an icon to be displayed in a JumpList, which can be an arbitrary resource file that contains an icon. 要在JumpList中显示的图标的绝对路径,JumpList可以是包含图标的任意资源文件。You can usually specify process.execPath to show the icon of the program.您通常可以指定process.execPath来显示程序的图标。
iconIndexnumber - The icon index in the icon file. If an icon file consists of two or more icons, set this value to identify the icon. 图标文件中的图标索引。如果一个图标文件由两个或多个图标组成,请设置此值以识别该图标。If an icon file consists of one icon, this value is 0.如果一个图标文件由一个图标组成,则该值为0。
workingDirectorystring (optional) - The working directory. Default is empty.工作目录。默认值为空。