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