MacOS专区新增浏览器管理添加浏览器自动化,实现自动点击元素,输入文本,注入css等功能

This commit is contained in:
fofolee
2025-01-12 00:57:29 +08:00
parent b7af2bd1ff
commit c3a07ed0b5
9 changed files with 1036 additions and 185 deletions

View File

@@ -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;