mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-18 18:04:28 +08:00
「忽略输出且不隐藏 」不退出插件
This commit is contained in:
@@ -7,7 +7,6 @@ const outputTypes = {
|
||||
name: "ignore",
|
||||
label: "忽略输出并隐藏",
|
||||
icon: "more_horiz",
|
||||
hideWindow: true,
|
||||
outPlugin: true,
|
||||
action: result => null
|
||||
},
|
||||
@@ -15,26 +14,24 @@ const outputTypes = {
|
||||
name: "nothing",
|
||||
label: "忽略输出且不隐藏",
|
||||
icon: "blur_linear",
|
||||
outPlugin: true,
|
||||
action: result => null
|
||||
},
|
||||
text: {
|
||||
name: "text",
|
||||
label: "纯文本输出",
|
||||
icon: "text_snippet",
|
||||
action: result => result
|
||||
action: result => true
|
||||
},
|
||||
html: {
|
||||
name: "html",
|
||||
label: "html格式输出",
|
||||
icon: "html",
|
||||
action: result => result
|
||||
action: result => true
|
||||
},
|
||||
terminal: {
|
||||
name: "terminal",
|
||||
label: "在终端显示",
|
||||
icon: "terminal",
|
||||
hideWindow: true,
|
||||
outPlugin: true,
|
||||
action: result => null
|
||||
|
||||
@@ -43,7 +40,6 @@ const outputTypes = {
|
||||
name: "clip",
|
||||
label: "复制到剪贴板",
|
||||
icon: "content_paste",
|
||||
hideWindow: true,
|
||||
outPlugin: true,
|
||||
action: result => window.copyTo(result)
|
||||
},
|
||||
@@ -51,7 +47,6 @@ const outputTypes = {
|
||||
name: "send",
|
||||
label: "发送到活动窗口",
|
||||
icon: "web_asset",
|
||||
hideWindow: true,
|
||||
outPlugin: true,
|
||||
action: result => window.send(result)
|
||||
},
|
||||
@@ -59,7 +54,6 @@ const outputTypes = {
|
||||
name: "notice",
|
||||
label: "发送系统通知",
|
||||
icon: "sms",
|
||||
hideWindow: true,
|
||||
outPlugin: true,
|
||||
action: result => window.message(result)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user