[AutoStart] Use index to fix PC support

This commit is contained in:
Ducko 2022-04-28 17:07:54 +01:00
parent 234545f1ce
commit f7325d6e35
2 changed files with 2 additions and 1 deletions

1
src/autoStart/index.js Normal file
View File

@ -0,0 +1 @@
module.exports = require('./' + process.platform);

2
src/bootstrap.js vendored
View File

@ -24,7 +24,7 @@ process.on('uncaughtException', console.error);
const splash = require('./splash');
const updater = require('./updater/updater');
const moduleUpdater = require('./updater/moduleUpdater');
const autoStart = require('./autoStart/' + process.platform);
const autoStart = require('./autoStart');
let desktopCore;
const startCore = () => {