mirror of
https://github.com/open-goal/launcher.git
synced 2024-10-20 19:07:36 -04:00
removed unintentional code
This commit is contained in:
parent
cfb4be36fc
commit
0421c32c0c
|
@ -6,8 +6,6 @@ contextBridge.exposeInMainWorld("api", {
|
||||||
let validCommands = ['getISO', 'checkUpdates', 'launch', 'build'];
|
let validCommands = ['getISO', 'checkUpdates', 'launch', 'build'];
|
||||||
if (validCommands.includes(command)) {
|
if (validCommands.includes(command)) {
|
||||||
ipcRenderer.send(command);
|
ipcRenderer.send(command);
|
||||||
} else {
|
|
||||||
console.log(command);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
receive: (channel, func) => {
|
receive: (channel, func) => {
|
||||||
|
|
Loading…
Reference in a new issue