(channel, payload)
| 74 | } |
| 75 | |
| 76 | function sendEvent(channel, payload) { |
| 77 | if (!mainWindow || mainWindow.isDestroyed()) return; |
| 78 | mainWindow.webContents.send(channel, payload); |
| 79 | } |
| 80 | |
| 81 | function parseEnvLines(raw) { |
| 82 | const lines = raw.split(/\r?\n/); |
no test coverage detected