Merge branch 'neutralino' into 'neutralino'

Different construction

See merge request KRypt0n_/an-anime-game-launcher!19
This commit is contained in:
Observer KRypt0n_ 2022-01-05 20:59:11 +00:00
commit e3a476c87e

View file

@ -183,8 +183,9 @@ export default class DXVK
*/
(): Promise<void> => 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',