replaced executeJavaScript with IPC event

This commit is contained in:
Jan Prochazka
2021-12-25 11:29:46 +01:00
parent 0e95082be6
commit ab4aef6c7e
5 changed files with 11 additions and 73 deletions

View File

@@ -18,8 +18,6 @@ export default function runCommand(id) {
}
}
window['dbgate_runCommand'] = runCommand;
export function runGroupCommand(group) {
const commandsValue = getCommands();
const values = Object.values(commandsValue) as GlobalCommand[];
@@ -32,3 +30,4 @@ export function findCommand(id) {
const command = commandsValue[id];
return command;
}