RSS Git Download  Clone
Raw View History
Blames found: 3 Mode: javascript Binary: false


Hang on, we reloading big blames...
var Module = require('module'); var originalRequire = Module.prototype.require; global.window = {}; Module.prototype.require = function(name){
switch(name) { case 'electron': const mock = { on: () => {}, }; return { ipcMain: mock, app: Object.assign({ makeSingleInstance: () => {} }, mock) }; break;
} //do your thing here return originalRequire.apply(this, arguments); };