[Index] Debugging for CI
This commit is contained in:
parent
8cb21b97ab
commit
690fc2bdb5
1 changed files with 2 additions and 1 deletions
|
@ -17,13 +17,14 @@ global.oaConfig = settings.get('openasar', {});
|
|||
|
||||
require('./cmdSwitches')();
|
||||
|
||||
|
||||
log('DEBUG2', '1');
|
||||
// Force u2QuickLoad (pre-"minified" ish)
|
||||
const M = require('module'); // Module
|
||||
|
||||
const b = join(paths.getExeDir(), 'modules'); // Base dir
|
||||
if (process.platform === 'win32') for (const m of require('fs').readdirSync(b)) M.globalPaths.push(join(b, m)); // For each module dir, add to globalPaths
|
||||
|
||||
log('DEBUG2', '2');
|
||||
|
||||
if (process.argv.includes('--overlay-host')) { // If overlay
|
||||
require('./utils/requireNative')('discord_overlay2', 'standalone_host.js'); // Start overlay
|
||||
|
|
Loading…
Reference in a new issue