From 02f81db47c5638abc400ab18b0d0169066880564 Mon Sep 17 00:00:00 2001 From: fofolee Date: Sun, 16 Feb 2025 16:55:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E4=BF=A1=E6=81=AF=E5=A4=B1=E8=B4=A5=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/lib/getUtoolsPlugins.js | 5 +++-- plugin/plugin.json | 2 +- src/components/menu/index.vue | 18 +++++++++--------- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/plugin/lib/getUtoolsPlugins.js b/plugin/lib/getUtoolsPlugins.js index f5c81ba..d6579e7 100644 --- a/plugin/lib/getUtoolsPlugins.js +++ b/plugin/lib/getUtoolsPlugins.js @@ -1,10 +1,11 @@ const fs = require("fs"); const path = require("path"); const os = require("os"); -const _ = require("lodash"); const pluginInfo = () => { - return JSON.parse(fs.readFileSync(path.join(__dirname, "plugin.json"))); + return JSON.parse( + fs.readFileSync(path.resolve(__dirname, "..", "plugin.json")) + ); }; const getUtoolsPlugins = () => { diff --git a/plugin/plugin.json b/plugin/plugin.json index 81de885..2ca140a 100644 --- a/plugin/plugin.json +++ b/plugin/plugin.json @@ -1,6 +1,6 @@ { "pluginName": "快捷命令", - "description": "实现具备UI交互的自动化操作,支持可视化拖拽及直接编写脚本两种形式。1.可视化拖拽支持文件、网络、音视频、图片、文本、浏览器、键鼠等超过20种类型的自动化处理,2.编写脚本支持utools的api,python、js、shell、cmd等多种脚本语言。关联关键词:自动化、可视化、RPA", + "description": "实现具备UI交互的自动化操作,支持可视化拖拽及直接编写脚本两种形式。1.可视化拖拽:支持文件、网络、音视频、图片、文本、浏览器、键鼠等超过20种类型的自动化处理,2.编写脚本:支持utools的api,python、js、shell、cmd等多种脚本语言。关联关键词:自动化、可视化、RPA", "main": "index.html", "homepage": "https://github.com/fofolee/uTools-quickcommand", "publishPage": "https://yuanliao.info/d/424", diff --git a/src/components/menu/index.vue b/src/components/menu/index.vue index 6c05c2a..fdad1e5 100644 --- a/src/components/menu/index.vue +++ b/src/components/menu/index.vue @@ -103,16 +103,16 @@