diff --git a/src/ts/core/DXVK.ts b/src/ts/core/DXVK.ts index a2b5b4e..653a226 100644 --- a/src/ts/core/DXVK.ts +++ b/src/ts/core/DXVK.ts @@ -182,9 +182,9 @@ export default class DXVK * And then run it */ (): Promise => new Promise(async (resolve) => { - const alias = runner ? `alias winecfg="${runnerDir}/${runner.files.winecfg}"\n` : ''; + const alias = runner ? `alias winecfg="${runnerDir}/${runner.files.winecfg}"` : 'true'; - Process.run(`eval $'${alias}./setup_dxvk.sh install'`, { + Process.run(`sh -c $'${alias};./setup_dxvk.sh install'`, { cwd: dxvkDir, env: { WINE: runner ? `${runnerDir}/${runner.files.wine}` : 'wine',