mirror of
https://github.com/JustusPlays78/SectorFileUpdater.git
synced 2025-04-29 19:24:24 +00:00
9 lines
249 B
JavaScript
9 lines
249 B
JavaScript
const { contextBridge, ipcRenderer } = require('electron')
|
|
|
|
process.once('loaded', () => {
|
|
window.addEventListener('message', evt => {
|
|
if (evt.data.type === 'select-dirs') {
|
|
ipcRenderer.send('select-dirs')
|
|
}
|
|
})
|
|
}) |