mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 14:34:13 +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) {
|
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user