mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Move reused object structures to a standard structures folder
This commit is contained in:
committed by
Zeke Sikelianos
parent
4d7050553c
commit
03979936f3
14
docs/api/structures/task.md
Normal file
14
docs/api/structures/task.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Task
|
||||
|
||||
* `program` String - Path of the program to execute, usually you should
|
||||
specify `process.execPath` which opens the current program.
|
||||
* `arguments` String - The command line arguments when `program` is
|
||||
executed.
|
||||
* `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
|
||||
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.
|
||||
* `iconIndex` Integer - 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.
|
||||
Reference in New Issue
Block a user