Fixed a few syntax errors.
This commit is contained in:
@@ -71,11 +71,7 @@ game_installer() {
|
|||||||
# remove games
|
# remove games
|
||||||
game_removal() {
|
game_removal() {
|
||||||
source .includes/bottle.sh
|
source .includes/bottle.sh
|
||||||
if [[ "$(uname -m)" == "aarch64" ]]; then
|
# Modern wine is unified - no architecture-specific wine executables needed
|
||||||
# Modern wine is unified
|
|
||||||
else
|
|
||||||
# Modern wine is unified
|
|
||||||
fi
|
|
||||||
mapfile -t lines < <(sed -e '/^$/d' -e '/^[[:space:]]*#/d' "${configFile}" 2> /dev/null)
|
mapfile -t lines < <(sed -e '/^$/d' -e '/^[[:space:]]*#/d' "${configFile}" 2> /dev/null)
|
||||||
if [[ ${#lines} -eq 0 ]]; then
|
if [[ ${#lines} -eq 0 ]]; then
|
||||||
echo "No games found."
|
echo "No games found."
|
||||||
@@ -128,11 +124,7 @@ game_removal() {
|
|||||||
# kill games that are stuck
|
# kill games that are stuck
|
||||||
kill_game() {
|
kill_game() {
|
||||||
source .includes/bottle.sh
|
source .includes/bottle.sh
|
||||||
if [[ "$(uname -m)" == "aarch64" ]]; then
|
# Modern wine is unified - no architecture-specific wine executables needed
|
||||||
# Modern wine is unified
|
|
||||||
else
|
|
||||||
# Modern wine is unified
|
|
||||||
fi
|
|
||||||
mapfile -t lines < <(sed '/^$/d' "${configFile}" 2> /dev/null)
|
mapfile -t lines < <(sed '/^$/d' "${configFile}" 2> /dev/null)
|
||||||
if [[ ${#lines} -eq 0 ]]; then
|
if [[ ${#lines} -eq 0 ]]; then
|
||||||
echo "No games found."
|
echo "No games found."
|
||||||
@@ -247,10 +239,6 @@ custom_launch_parameters() {
|
|||||||
popd
|
popd
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
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
|
# Process game launcher flags
|
||||||
@@ -332,12 +320,6 @@ game_launcher() {
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
get_bottle "${game[0]}"
|
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 "
|
echo -n "launching "
|
||||||
wine --version
|
wine --version
|
||||||
# kill any previous existing wineservers for this prefix in case they didn't shut down properly.
|
# kill any previous existing wineservers for this prefix in case they didn't shut down properly.
|
||||||
|
Reference in New Issue
Block a user