mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-01-01 22:47:19 +03:00
change newline to ; for command chain or just true
This commit is contained in:
parent
6983ca6c36
commit
8f5540eefc
1 changed files with 2 additions and 2 deletions
|
@ -182,9 +182,9 @@ export default class DXVK
|
||||||
* And then run it
|
* And then run it
|
||||||
*/
|
*/
|
||||||
(): Promise<void> => new Promise(async (resolve) => {
|
(): 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,
|
cwd: dxvkDir,
|
||||||
env: {
|
env: {
|
||||||
WINE: runner ? `${runnerDir}/${runner.files.wine}` : 'wine',
|
WINE: runner ? `${runnerDir}/${runner.files.wine}` : 'wine',
|
||||||
|
|
Loading…
Reference in a new issue