From 8f5540eefc548bc0fa0513214a150aadda517238 Mon Sep 17 00:00:00 2001 From: cybik Date: Wed, 5 Jan 2022 20:38:41 +0000 Subject: [PATCH] change newline to ; for command chain or just true --- src/ts/core/DXVK.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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',