mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 06:06:52 +08:00
微调微调
This commit is contained in:
parent
a470246d67
commit
aa1c2e04e6
@ -47,7 +47,7 @@ utools.onPluginEnter(({ code, type, payload }) => {
|
||||
|
||||
function runCmd(cmd, option, codec, output) {
|
||||
// 不需要输出的,提前关闭窗口
|
||||
if (['ignore', 'clip', 'send'].indexOf(output) !== -1){
|
||||
if (['ignore', 'clip', 'send', 'notice'].indexOf(output) !== -1){
|
||||
utools.outPlugin()
|
||||
utools.hideMainWindow()
|
||||
}
|
||||
@ -75,8 +75,7 @@ function runCmd(cmd, option, codec, output) {
|
||||
break;
|
||||
case "notice":
|
||||
// 发送系统通知
|
||||
utools.showNotification(stdout, null, true);
|
||||
utools.outPlugin();
|
||||
utools.showNotification(stdout, null, true);q1c
|
||||
break;
|
||||
case "ignore":
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user