INFRA: Update everything except React (#312)

This commit is contained in:
David Walker
2023-01-07 23:36:55 -08:00
committed by GitHub
parent 54e8875dd0
commit 0c2d402f0b
23 changed files with 5610 additions and 8083 deletions

View File

@@ -1,10 +1,8 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const { ipcRenderer, contextBridge } = require("electron");
const log = require("electron-log");
contextBridge.exposeInMainWorld("electronBridge", {
send: (channel, data) => {
log.log("Send on channel " + channel);
// whitelist channels
let validChannels = [
"get-save-data-response",
@@ -19,7 +17,6 @@ contextBridge.exposeInMainWorld("electronBridge", {
}
},
receive: (channel, func) => {
log.log("Receive on channel " + channel);
let validChannels = [
"get-save-data-request",
"get-save-info-request",