An electron-based WIP aesthetic file explorer ^^
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FileKade/scripts/keybinds/process/handleIpc.js

7 lines
222 B

const {ipcMain: ipc} = require('electron');
module.exports = (browserWindow, app) => {
ipc.on('keybind', (event, arg) => {
try {event.returnValue = require(`./${arg}`)(browserWindow, app);} catch {}
});
};