mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 14:34:13 +08:00
bug fix
This commit is contained in:
parent
bb54805b7e
commit
eb3c7f3b36
28
README.md
28
README.md
@ -1,9 +1,17 @@
|
|||||||
# 快捷命令 V0.0.1
|
# 快捷命令 V0.0.2
|
||||||
|
|
||||||
## 简介
|
## 简介
|
||||||
|
|
||||||
自定义可以在`uTools`中快速执行的命令或脚本
|
自定义可以在`uTools`中快速执行的命令或脚本
|
||||||
|
|
||||||
|
### 更新
|
||||||
|
|
||||||
|
#### v0.0.2
|
||||||
|
|
||||||
|
- 修复uTools更新后进入插件空白的BUG
|
||||||
|
|
||||||
|
- 添加Linux支持
|
||||||
|
|
||||||
## 功能
|
## 功能
|
||||||
|
|
||||||
#### 快速启动
|
#### 快速启动
|
||||||
@ -40,7 +48,7 @@
|
|||||||
- 显示纯文本输出 (不解析 html 内容)
|
- 显示纯文本输出 (不解析 html 内容)
|
||||||
- 显示html格式的输出 (可以进一步编写简单的 GUI 界面)
|
- 显示html格式的输出 (可以进一步编写简单的 GUI 界面)
|
||||||
- 复制到剪贴板
|
- 复制到剪贴板
|
||||||
- 发送到活动窗口
|
- 发送到活动窗口(可以实现类似代码片段、常用短语之类的功能)
|
||||||
|
|
||||||
#### 插值变量
|
#### 插值变量
|
||||||
|
|
||||||
@ -66,6 +74,22 @@
|
|||||||
|
|
||||||
支持命令的导入或者导出
|
支持命令的导入或者导出
|
||||||
|
|
||||||
|
同时网盘提供了一些写好了的命令:
|
||||||
|
|
||||||
|
`网络连接` 打开网络连接窗口 (python/双平台)
|
||||||
|
|
||||||
|
`回收站` 打开回收站 (python/双平台)
|
||||||
|
|
||||||
|
`息屏` 关闭显示器而不休眠 (powershell/windows, shell/macos)
|
||||||
|
|
||||||
|
`base64转图片` 将选中的base64转为图片 (python/双平台)
|
||||||
|
|
||||||
|
`终端` 在当前目录打开终端 (python/双平台)
|
||||||
|
|
||||||
|
`新建文件` 在当前目录新建任意文件 (python/双平台)
|
||||||
|
|
||||||
|
`切换百度/谷歌搜索` 在百度或者谷歌的搜索页面切换至另一个搜索引擎进行搜索 (python/双平台)
|
||||||
|
|
||||||
## 下载
|
## 下载
|
||||||
|
|
||||||
[百度网盘](https://pan.baidu.com/s/1kEEQcQ1p3Rjli2sTtmCcTg) 提取码: `rbek`
|
[百度网盘](https://pan.baidu.com/s/1kEEQcQ1p3Rjli2sTtmCcTg) 提取码: `rbek`
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
"main": "index.html",
|
"main": "index.html",
|
||||||
"homepage": "https://github.com/fofolee/uTools-QuickerCommand",
|
"homepage": "https://github.com/fofolee/uTools-QuickerCommand",
|
||||||
"publishPage": "https://yuanliao.info/d/424",
|
"publishPage": "https://yuanliao.info/d/424",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"author": "云之轩",
|
"author": "云之轩",
|
||||||
"logo": "logo.png",
|
"logo": "logo.png",
|
||||||
"platform": [ "win32", "darwin" ],
|
"platform": [ "win32", "darwin", "linux" ],
|
||||||
"preload": "preload.js",
|
"preload": "preload.js",
|
||||||
"features": [
|
"features": [
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,7 @@ const os = require('os');
|
|||||||
const { spawn, exec } = require("child_process")
|
const { spawn, exec } = require("child_process")
|
||||||
const iconv = require('iconv-lite')
|
const iconv = require('iconv-lite')
|
||||||
const { clipboard } = require('electron')
|
const { clipboard } = require('electron')
|
||||||
const robot = require('./robotjs')
|
const robot = utools.robot
|
||||||
const jschardet = require("jschardet")
|
const jschardet = require("jschardet")
|
||||||
|
|
||||||
//-------checkUpdate------
|
//-------checkUpdate------
|
||||||
|
BIN
releases/quickCommand-0.0.2.upx
Normal file
BIN
releases/quickCommand-0.0.2.upx
Normal file
Binary file not shown.
Binary file not shown.
@ -1,5 +0,0 @@
|
|||||||
if(process.platform==='darwin'){
|
|
||||||
module.exports = require('./darwin/robotjs.node')
|
|
||||||
}else if(process.platform==='win32'){
|
|
||||||
module.exports = require(`./win32/${process.arch}/robotjs.node`)
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user