mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-14 22:54:32 +08:00
MacOS专区新增浏览器管理添加浏览器自动化,实现自动点击元素,输入文本,注入css等功能
This commit is contained in:
@@ -297,10 +297,15 @@ window.runPythonCommand = (py) => {
|
||||
};
|
||||
|
||||
// 在终端中执行
|
||||
if (process.platform !== "linux")
|
||||
if (process.platform !== "linux") {
|
||||
quickcommand.runInTerminal = function (cmdline, dir) {
|
||||
let command = getCommandToLaunchTerminal(cmdline, dir);
|
||||
child_process.exec(command);
|
||||
};
|
||||
}
|
||||
|
||||
quickcommand.showSystemMessageBox = function (title, content) {
|
||||
window.utools.showNotification(title + "\n" + content);
|
||||
};
|
||||
|
||||
module.exports = quickcommand;
|
||||
|
||||
Reference in New Issue
Block a user