[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')();
|
require('./cmdSwitches')();
|
||||||
|
|
||||||
|
log('DEBUG2', '1');
|
||||||
// Force u2QuickLoad (pre-"minified" ish)
|
// Force u2QuickLoad (pre-"minified" ish)
|
||||||
const M = require('module'); // Module
|
const M = require('module'); // Module
|
||||||
|
|
||||||
const b = join(paths.getExeDir(), 'modules'); // Base dir
|
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
|
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
|
if (process.argv.includes('--overlay-host')) { // If overlay
|
||||||
require('./utils/requireNative')('discord_overlay2', 'standalone_host.js'); // Start overlay
|
require('./utils/requireNative')('discord_overlay2', 'standalone_host.js'); // Start overlay
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue