[Bootstrap] Deep integrate GPUSettings (new stub only)

This commit is contained in:
Ducko 2022-04-19 21:47:09 +01:00
parent 7e31a9af6a
commit 6ad72b7172
2 changed files with 7 additions and 2 deletions

View file

@ -1 +0,0 @@
exports.replace = (n) => Object.keys(n).forEach(x => exports[x] = n[x]);

8
src/bootstrap.js vendored
View file

@ -60,9 +60,15 @@ const startCore = () => {
Constants,
updater,
autoStart,
// Just requires
appSettings: require('./appSettings'),
paths: require('./paths'),
GPUSettings: require('./GPUSettings'),
// Stubs
GPUSettings: {
replace: () => {}
},
crashReporterSetup: {
isInitialized: () => true,
metadata: {}