mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-17 08:54:19 +08:00
完善编排执行命令功能
This commit is contained in:
@@ -4,7 +4,7 @@ export const simulateCommands = {
|
||||
defaultOpened: false,
|
||||
commands: [
|
||||
{
|
||||
value: "keyTap",
|
||||
value: "utools.simulateKeyboardTap",
|
||||
label: "模拟按键",
|
||||
config: [],
|
||||
component: "KeyEditor",
|
||||
|
||||
@@ -3,18 +3,6 @@ export const systemCommands = {
|
||||
icon: "computer",
|
||||
defaultOpened: false,
|
||||
commands: [
|
||||
{
|
||||
value: "system",
|
||||
label: "执行系统命令",
|
||||
config: [
|
||||
{
|
||||
key: "command",
|
||||
label: "要执行的命令行",
|
||||
type: "varInput",
|
||||
icon: "terminal",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
value: "copyTo",
|
||||
label: "将内容写入剪贴板",
|
||||
@@ -33,5 +21,13 @@ export const systemCommands = {
|
||||
config: [],
|
||||
allowEmptyArgv: true,
|
||||
},
|
||||
{
|
||||
value: "quickcomposer.system.exec",
|
||||
label: "执行系统命令",
|
||||
desc: "执行系统命令并返回输出结果",
|
||||
config: [],
|
||||
component: "SystemCommandEditor",
|
||||
icon: "terminal",
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user