[Paths] Fix resources path
This commit is contained in:
parent
fe5cbe275b
commit
2465956c60
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ const exeDir = dirname(app.getPath('exe'));
|
|||
const installPath = /^app-[0-9]+\.[0-9]+\.[0-9]+/.test(basename(exeDir)) ? join(exeDir, '..') : null;
|
||||
|
||||
const moduleData = buildInfo.newUpdater ? join(userData, 'module_data') : join(userDataVersioned, 'modules');
|
||||
const resourcesPath = join(process.resourcesPath, '..'); // Discord uses path and require.main.filename here because ??
|
||||
const resourcesPath = join(process.resourcesPath); // Discord uses path and require.main.filename here because ??
|
||||
|
||||
exports.getUserData = () => userData;
|
||||
exports.getUserDataVersioned = () => userDataVersioned;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue