[Bootstrap] Force set app name (see comment)
This commit is contained in:
parent
2b466db2ce
commit
e4bd46d1e8
1 changed files with 3 additions and 0 deletions
3
src/bootstrap.js
vendored
3
src/bootstrap.js
vendored
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue