[Bootstrap] Fix last commit using invalid var

This commit is contained in:
Ducko 2021-12-10 21:44:19 +00:00
parent dcfb1a08c7
commit ab348f7ba1

2
src/bootstrap.js vendored
View file

@ -1,7 +1,7 @@
const { app } = require('electron'); const { app } = require('electron');
log('Bootstrap', 'Forcing Electron props'); log('Bootstrap', 'Forcing Electron props');
app.name = originalPackage.name; // Force name as sometimes breaks data path even with "discord" name (also fixes kernel?) app.name = 'discord'; // Force name as sometimes breaks data path even with "discord" name (also fixes kernel?)
const requireNative = require('./utils/requireNative'); const requireNative = require('./utils/requireNative');