2016-10-08 02:09:31 +00:00
|
|
|
# Task Object
|
2016-09-28 07:00:01 +00:00
|
|
|
|
2021-11-16 04:13:18 +00:00
|
|
|
* `program` string - Path of the program to execute, usually you should
|
2016-09-28 07:00:01 +00:00
|
|
|
specify `process.execPath` which opens the current program.
|
2021-11-16 04:13:18 +00:00
|
|
|
* `arguments` string - The command line arguments when `program` is
|
2016-09-28 07:00:01 +00:00
|
|
|
executed.
|
2021-11-16 04:13:18 +00:00
|
|
|
* `title` string - The string to be displayed in a JumpList.
|
|
|
|
* `description` string - Description of this task.
|
|
|
|
* `iconPath` string - The absolute path to an icon to be displayed in a
|
2016-09-28 07:00:01 +00:00
|
|
|
JumpList, which can be an arbitrary resource file that contains an icon. You
|
|
|
|
can usually specify `process.execPath` to show the icon of the program.
|
2021-11-16 04:13:18 +00:00
|
|
|
* `iconIndex` number - The icon index in the icon file. If an icon file
|
2016-09-28 07:00:01 +00:00
|
|
|
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.
|
2021-11-16 04:13:18 +00:00
|
|
|
* `workingDirectory` string (optional) - The working directory. Default is empty.
|