[Bootstrap] Force set app name (see comment)

This commit is contained in:
Ducko 2021-12-10 21:31:40 +00:00
parent 2b466db2ce
commit e4bd46d1e8
1 changed files with 3 additions and 0 deletions

3
src/bootstrap.js vendored
View File

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