#preload.js
window.exports = {
test: {
mode: "none",
args: {
enter: (action) => {
utools.showNotification("11");
},
},
},
};
#plugin.json
{
"preload": "preload.js",
"logo": "res/logo.png",
"platform": [
"win32",
"darwin",
"linux"
],
"features": [
{
"code": "test",
"explain": "test",
"cmds": [
"test"
]
}
]
}
需要实现test关键字能自动启动,或类似功能