mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-03-08 09:07:57 +03:00
Fixed a lot of wrong constants.prefixDir
usage due
now it's `constants.prefixDir.get()` function
This commit is contained in:
parent
b89eccd863
commit
89c3968513
3 changed files with 7 additions and 7 deletions
|
@ -295,7 +295,7 @@ $(() => {
|
|||
cwd: constants.gameDir,
|
||||
env: {
|
||||
...process.env,
|
||||
WINEPREFIX: constants.prefixDir,
|
||||
WINEPREFIX: constants.prefixDir.get(),
|
||||
...env, // User-defined variables should be the most important
|
||||
...LauncherLib.getConfig('env')
|
||||
}
|
||||
|
|
|
@ -349,7 +349,7 @@ export default class LauncherLib
|
|||
cwd: constants.gameDir,
|
||||
env: {
|
||||
...process.env,
|
||||
WINEPREFIX: constants.prefixDir
|
||||
WINEPREFIX: constants.prefixDir.get()
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -362,7 +362,7 @@ export default class LauncherLib
|
|||
cwd: constants.gameDir,
|
||||
env: {
|
||||
...process.env,
|
||||
WINEPREFIX: constants.prefixDir
|
||||
WINEPREFIX: constants.prefixDir.get()
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -371,7 +371,7 @@ export default class LauncherLib
|
|||
cwd: constants.gameDir,
|
||||
env: {
|
||||
...process.env,
|
||||
WINEPREFIX: constants.prefixDir
|
||||
WINEPREFIX: constants.prefixDir.get()
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@ $(() => {
|
|||
exec('winetricks', {
|
||||
env: {
|
||||
...process.env,
|
||||
WINEPREFIX: constants.prefixDir
|
||||
WINEPREFIX: constants.prefixDir.get()
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@ -150,7 +150,7 @@ $(() => {
|
|||
exec('winecfg', {
|
||||
env: {
|
||||
...process.env,
|
||||
WINEPREFIX: constants.prefixDir
|
||||
WINEPREFIX: constants.prefixDir.get()
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@ -572,7 +572,7 @@ $(() => {
|
|||
cwd: path.join(constants.dxvksDir, 'dxvk-' + dxvk.version),
|
||||
env: {
|
||||
...process.env,
|
||||
WINEPREFIX: constants.prefixDir
|
||||
WINEPREFIX: constants.prefixDir.get()
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue