File size: 339 Bytes
1e92f2d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | const { ipcMain: ipc } = require( 'electron' );
const WindowManager = require( '../../lib/window-manager' );
ipc.on( 'secrets', function ( ev, which ) {
which = parseInt( which, 10 );
if ( which === 0 ) {
WindowManager.openSecret();
} else if ( which === 1 ) {
WindowManager.openWapuu();
}
} );
module.exports = function () {};
|