forked from Mirrors/OpenAsar
[FirstRun] Rewrite to use switch for index require, generic stub
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…
Reference in new issue