[FirstRun] Rewrite to use switch for index require, generic stub

main
Oj 2 years ago
parent 13be8a158a
commit 5ad7eabea5

@ -1 +0,0 @@
module.exports = require('./stub');

@ -1,2 +1,9 @@
// Stub for now at least
module.exports = require('./' + process.platform);
// Depends on platform
switch (process.platform) {
case 'win32':
module.exports = require('./win32.js');
break;
default:
module.exports = require('./stub.js');
}

@ -1 +0,0 @@
module.exports = require('./stub');
Loading…
Cancel
Save