mirror of
https://github.com/an-anime-team/sleepy-launcher.git
synced 2025-03-15 06:28:27 +03:00
Added fix for dxvk applying with spaces to the runners folder path
This commit is contained in:
parent
ab8cc075ef
commit
02abfd1b0b
1 changed files with 7 additions and 0 deletions
|
@ -97,6 +97,13 @@ impl Version {
|
|||
// so we can get rid of 32bit support
|
||||
apply_script = apply_script.replace("$wineboot -u", "$wine64 -u");
|
||||
|
||||
// Fix issues related to spaces in paths to the runners folder
|
||||
apply_script = apply_script.replace("which $wineboot", "which \"$wineboot\"");
|
||||
apply_script = apply_script.replace("$wine --version", "\"$wine\" --version");
|
||||
apply_script = apply_script.replace("$wine64 winepath", "\"$wine64\" winepath");
|
||||
apply_script = apply_script.replace("$wine winepath", "\"$wine\" winepath");
|
||||
apply_script = apply_script.replace("$wine reg", "\"$wine\" reg");
|
||||
|
||||
// Old GE builds return specific --version output which can break
|
||||
// DXVK installation script
|
||||
apply_script = apply_script.replace("grep wine", "grep \"wine\\|GE\"");
|
||||
|
|
Loading…
Add table
Reference in a new issue