pluginName
required
String
The name of the plugin. This is a required option, the length cannot exceed 30 characters.
{
"pluginName":"Wise Toys"
}
description
required
String
Plug-in description, concisely explain the role of this plug-in
{
"description":"Plugin description"
}
main
required
String
An index file of the plugin, must be a HTML file
{
"main":"index.html"
}
version
required
String
The version of the plugin. The regular form is: major. minor. Revision. E.g., 1.0.1
{
"version":"0.0.1"
}
logo
required
String
The icon of the plugin, supports svg, png, jpg.
{
"logo":"logo.svg"
}
platform
Array
win32
,darwin
,linux
The platform supported by the plugin, the default is full platform support.
{
"darwin":" ["win32", "darwin", "linux"]"
}
preload
String
You can call the API provided by Wise Tools, nodejs, and electron in this file.
{
"preload":"preload.js"
}
pluginSetting
Object
The settings of a plugin.
"pluginSetting":{
}
pluginSetting.width
Number
The width of the plug-in window.
"pluginSetting":{
"width":1000
}
pluginSetting.height
Number
The height of the plug-in window.
"pluginSetting":{
"height":600
}