From 0eae8055e51c54d7db4714727e98ca3d6c82fe22 Mon Sep 17 00:00:00 2001 From: cybik Date: Wed, 5 Jan 2022 20:57:17 +0000 Subject: [PATCH] Different construction --- src/ts/core/DXVK.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ts/core/DXVK.ts b/src/ts/core/DXVK.ts index 653a226..ec9d3b0 100644 --- a/src/ts/core/DXVK.ts +++ b/src/ts/core/DXVK.ts @@ -183,8 +183,9 @@ export default class DXVK */ (): Promise => new Promise(async (resolve) => { 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, env: { WINE: runner ? `${runnerDir}/${runner.files.wine}` : 'wine',