change newline to ; for command chain or just true

This commit is contained in:
cybik 2022-01-05 20:38:41 +00:00
parent 6983ca6c36
commit 8f5540eefc

View file

@ -182,9 +182,9 @@ export default class DXVK
* And then run it
*/
(): Promise<void> => 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',