From cabe79cc3406adc5f78d50fca9b43b0c9fab4020 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 12 Sep 2024 01:49:01 -0400 Subject: [PATCH] Fixed launcher for Warsim. --- audiogame-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index adfe031..824c618 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -919,8 +919,8 @@ custom_launch_parameters() { exit 0 fi if [[ "${game[0]}" == "warsim" ]]; then - pushd "$(winepath "$winePath")" - wine "$wineExec" + pushd "$(winepath "${game[1]%\\*}")" + wine "${game[1]##*\\}" popd exit 0 fi