微调微调

This commit is contained in:
fofolee 2020-04-08 00:23:22 +08:00
parent a470246d67
commit aa1c2e04e6

View File

@ -47,7 +47,7 @@ utools.onPluginEnter(({ code, type, payload }) => {
function runCmd(cmd, option, codec, output) { function runCmd(cmd, option, codec, output) {
// 不需要输出的,提前关闭窗口 // 不需要输出的,提前关闭窗口
if (['ignore', 'clip', 'send'].indexOf(output) !== -1){ if (['ignore', 'clip', 'send', 'notice'].indexOf(output) !== -1){
utools.outPlugin() utools.outPlugin()
utools.hideMainWindow() utools.hideMainWindow()
} }
@ -75,8 +75,7 @@ function runCmd(cmd, option, codec, output) {
break; break;
case "notice": case "notice":
// 发送系统通知 // 发送系统通知
utools.showNotification(stdout, null, true); utools.showNotification(stdout, null, true);q1c
utools.outPlugin();
break; break;
case "ignore": case "ignore":
default: default: