[FirstRun] Rewrite to use switch for index require, generic stub
This commit is contained in:
parent
13be8a158a
commit
5ad7eabea5
3 changed files with 9 additions and 4 deletions
|
@ -1 +0,0 @@
|
||||||
module.exports = require('./stub');
|
|
|
@ -1,2 +1,9 @@
|
||||||
// Stub for now at least
|
// Depends on platform
|
||||||
module.exports = require('./' + process.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…
Reference in a new issue