mirror of https://github.com/GooseMod/OpenAsar
[WinFirst] Restructure FirstRun as just WinFirst
parent
a5f2630725
commit
43ec96e073
@ -1,9 +0,0 @@
|
||||
// Depends on platform
|
||||
switch (process.platform) {
|
||||
case 'win32':
|
||||
module.exports = require('./win32.js');
|
||||
break;
|
||||
|
||||
default:
|
||||
module.exports = require('./stub.js');
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
// Generic exports for stub (Linux and Darwin use it), normal Discord
|
||||
exports.do = () => {};
|
@ -1,7 +1,7 @@
|
||||
const fs = require('fs');
|
||||
const { join, resolve, basename } = require('path');
|
||||
|
||||
const Constants = require('../Constants');
|
||||
const Constants = require('./Constants');
|
||||
|
||||
const exec = process.execPath;
|
||||
const app = resolve(exec, '..');
|
Loading…
Reference in new issue