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',