mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-01-01 22:47:19 +03:00
Different construction
This commit is contained in:
parent
8f5540eefc
commit
0eae8055e5
1 changed files with 2 additions and 1 deletions
|
@ -183,8 +183,9 @@ export default class DXVK
|
||||||
*/
|
*/
|
||||||
(): Promise<void> => new Promise(async (resolve) => {
|
(): Promise<void> => new Promise(async (resolve) => {
|
||||||
const alias = runner ? `alias winecfg="${runnerDir}/${runner.files.winecfg}"` : 'true';
|
const alias = runner ? `alias winecfg="${runnerDir}/${runner.files.winecfg}"` : 'true';
|
||||||
|
const command = "sh -c '" + alias + ";./setup_dxvk.sh install'";
|
||||||
|
|
||||||
Process.run(`sh -c $'${alias};./setup_dxvk.sh install'`, {
|
Process.run(command, {
|
||||||
cwd: dxvkDir,
|
cwd: dxvkDir,
|
||||||
env: {
|
env: {
|
||||||
WINE: runner ? `${runnerDir}/${runner.files.wine}` : 'wine',
|
WINE: runner ? `${runnerDir}/${runner.files.wine}` : 'wine',
|
||||||
|
|
Loading…
Reference in a new issue