mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 22:51:25 +08:00
修复macos输出到活动窗口的bug
This commit is contained in:
parent
e8fe5b8c44
commit
c03e980293
@ -1,4 +1,4 @@
|
||||
# 快捷命令 V1.5.0
|
||||
# 快捷命令 V1.5.1
|
||||
|
||||
## 简介
|
||||
|
||||
@ -6,6 +6,10 @@
|
||||
|
||||
### 更新
|
||||
|
||||
#### v1.5.1
|
||||
- 修复macOS下新增命令界面排版错误的问题
|
||||
- 修复macOS下使用shell脚本且发送输出结果到活动窗口时结果不正确的问题
|
||||
|
||||
#### v1.5.0
|
||||
|
||||
##### 功能更新
|
||||
|
@ -98,7 +98,9 @@ function runCmd(cmd, option, codec, output) {
|
||||
var historyData = storeClip();
|
||||
copyTo(stdout);
|
||||
paste();
|
||||
restoreClip(historyData);
|
||||
setTimeout(() => {
|
||||
restoreClip(historyData);
|
||||
}, 500);
|
||||
break;
|
||||
case "notice":
|
||||
// 发送系统通知
|
||||
|
@ -4,7 +4,7 @@
|
||||
"main": "index.html",
|
||||
"homepage": "https://github.com/fofolee/uTools-QuickerCommand",
|
||||
"publishPage": "https://yuanliao.info/d/424",
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.1",
|
||||
"author": "云之轩",
|
||||
"logo": "logo.png",
|
||||
"platform": [ "win32", "darwin", "linux" ],
|
||||
|
@ -115,7 +115,9 @@ getSelectText = () => {
|
||||
clipboard.writeText('');
|
||||
copy();
|
||||
var selectText = clipboard.readText()
|
||||
restoreClip(historyData)
|
||||
setTimeout(() => {
|
||||
restoreClip(historyData)
|
||||
}, 500);
|
||||
return selectText
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user