Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Action ¶
type Action struct {
// human-readable or standard name
Name string `json:"name"`
// file path (relative to manifest or absolute), URL, etc.
Path string `json:"path"`
// icon name (see static/fonts/icomoon/demo.html, don't include `icon-` prefix)
Icon string `json:"icon"`
// command-line arguments
Args []string `json:"args"`
// sandbox opt-in
Sandbox bool `json:"sandbox"`
// requested API scope
Scope string `json:"scope"`
// don't redirect stdout/stderr, open in new console window
Console bool `json:"console"`
// platform to restrict this action too
Platform manager.ItchPlatform `json:"platform"`
// localized action name
Locales map[string]*ActionLocale `json:"locales"`
}
type ActionLocale ¶
type ActionLocale struct {
Name string `json:"name"`
}
Click to show internal directories.
Click to hide internal directories.