const linux = require('./mediaKeys/linux');
const macOSWindows = require('./mediaKeys/macOSWindows');

const OS = process.platform;

module.exports = () => { // eslint-disable-line consistent-return
  if (OS === 'linux') { return linux; }
  if (OS === 'win32' || OS === 'darwin') { return macOSWindows; }
};

const linux = require('./mediaKeys/linux');
const macOSWindows = require('./mediaKeys/macOSWindows');

const OS = process.platform;

module.exports = (win) => { // eslint-disable-line consistent-return
  if (OS === 'linux') { return linux(win); }
  if (OS === 'win32' || OS === 'darwin') { return macOSWindows(win); }
};

Fix mediaKeys