mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-15 07:05:21 +08:00
发送消息、窗口管理统一通过句柄操作
This commit is contained in:
@@ -123,7 +123,10 @@ async function runAutomation(
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
error = err.toString().trim();
|
||||
error = err
|
||||
.toString()
|
||||
.replace(/^Error: /, "")
|
||||
.trim();
|
||||
}
|
||||
|
||||
if (type === "inspect") return { error };
|
||||
|
||||
Reference in New Issue
Block a user