Fixed a few syntax errors.

This commit is contained in:
Storm Dragon
2025-08-04 20:18:44 -04:00
parent ddecf09fb1
commit 87c278d935

View File

@@ -71,11 +71,7 @@ game_installer() {
# remove games
game_removal() {
source .includes/bottle.sh
if [[ "$(uname -m)" == "aarch64" ]]; then
# Modern wine is unified
else
# Modern wine is unified
fi
# Modern wine is unified - no architecture-specific wine executables needed
mapfile -t lines < <(sed -e '/^$/d' -e '/^[[:space:]]*#/d' "${configFile}" 2> /dev/null)
if [[ ${#lines} -eq 0 ]]; then
echo "No games found."
@@ -128,11 +124,7 @@ game_removal() {
# kill games that are stuck
kill_game() {
source .includes/bottle.sh
if [[ "$(uname -m)" == "aarch64" ]]; then
# Modern wine is unified
else
# Modern wine is unified
fi
# Modern wine is unified - no architecture-specific wine executables needed
mapfile -t lines < <(sed '/^$/d' "${configFile}" 2> /dev/null)
if [[ ${#lines} -eq 0 ]]; then
echo "No games found."
@@ -247,10 +239,6 @@ custom_launch_parameters() {
popd
exit 0
fi
if [[ -d "${WINEPREFIX}/drive_c/windows/syswow64" ]]; then
# switch to wine64 for 64 bit prefix.
# Modern wine is unified - no separate wine32/wine64 executables
fi
}
# Process game launcher flags
@@ -332,12 +320,6 @@ game_launcher() {
exit 0
fi
get_bottle "${game[0]}"
# make sure wine is actually set to something
if [[ "$(uname -m)" == "aarch64" ]]; then
# Modern wine is unified
else
# Modern wine is unified
fi
echo -n "launching "
wine --version
# kill any previous existing wineservers for this prefix in case they didn't shut down properly.