[Bootstrap] Deep integrate GPUSettings (new stub only)
This commit is contained in:
parent
7e31a9af6a
commit
6ad72b7172
|
@ -1 +0,0 @@
|
||||||
exports.replace = (n) => Object.keys(n).forEach(x => exports[x] = n[x]);
|
|
|
@ -60,9 +60,15 @@ const startCore = () => {
|
||||||
Constants,
|
Constants,
|
||||||
updater,
|
updater,
|
||||||
autoStart,
|
autoStart,
|
||||||
|
|
||||||
|
// Just requires
|
||||||
appSettings: require('./appSettings'),
|
appSettings: require('./appSettings'),
|
||||||
paths: require('./paths'),
|
paths: require('./paths'),
|
||||||
GPUSettings: require('./GPUSettings'),
|
|
||||||
|
// Stubs
|
||||||
|
GPUSettings: {
|
||||||
|
replace: () => {}
|
||||||
|
},
|
||||||
crashReporterSetup: {
|
crashReporterSetup: {
|
||||||
isInitialized: () => true,
|
isInitialized: () => true,
|
||||||
metadata: {}
|
metadata: {}
|
||||||
|
|
Loading…
Reference in New Issue