added BG LAP. Hopefully fixed a critical bug that would erase the whole menu.
This commit is contained in:
parent
b1c30855bc
commit
c59918f6f4
@ -469,11 +469,11 @@ game_removal() {
|
|||||||
get_bottle "${game%|*}"
|
get_bottle "${game%|*}"
|
||||||
read -rp "To remove the wine bottle \"${WINEPREFIX##*/}\" and all of its contents press enter. To cancel press control+c. " continue
|
read -rp "To remove the wine bottle \"${WINEPREFIX##*/}\" and all of its contents press enter. To cancel press control+c. " continue
|
||||||
# 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.
|
||||||
WINEPREFIX="${HOME}/.local/wine/${bottle}" wineserver -k
|
wineserver -k
|
||||||
# remove the game
|
# remove the game
|
||||||
rm -rf "${HOME}/.local/wine/${bottle}"
|
rm -rf "${WINEPREFIX}"
|
||||||
# remove the launcher
|
# remove the launcher
|
||||||
gawk -i inplace -vLine="${bottle//\\/\\\\}" '!index($0,Line)' "$configFile"
|
gawk -i inplace -vLine="${WINEPREFIX//\\/\\\\}" '!index($0,Line)' "$configFile"
|
||||||
echo "The selected wine bottle has been deleted."
|
echo "The selected wine bottle has been deleted."
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
@ -664,6 +664,7 @@ gameList=(
|
|||||||
"BG Free Cell Solitaire"
|
"BG Free Cell Solitaire"
|
||||||
"BG Hearts"
|
"BG Hearts"
|
||||||
"BG Klondike Solitaire"
|
"BG Klondike Solitaire"
|
||||||
|
"BG LAP"
|
||||||
"BG Mine Sweeper"
|
"BG Mine Sweeper"
|
||||||
"BG Penguin Solitaire"
|
"BG Penguin Solitaire"
|
||||||
"BG Scorpion Solitaire"
|
"BG Scorpion Solitaire"
|
||||||
@ -892,6 +893,14 @@ case "${game}" in
|
|||||||
wine "${cache}/${bgInstaller}" /silent
|
wine "${cache}/${bgInstaller}" /silent
|
||||||
add_launcher "c:\Program Files\Games\HeartsB\HeartsB.exe"
|
add_launcher "c:\Program Files\Games\HeartsB\HeartsB.exe"
|
||||||
;;
|
;;
|
||||||
|
"BG LAP")
|
||||||
|
bgInstaller="LAP32Setup10.exe"
|
||||||
|
export bottle="bg"
|
||||||
|
get_installer "${bgInstaller}"
|
||||||
|
install_wine_bottle speechsdk
|
||||||
|
wine "${cache}/${bgInstaller}" /silent
|
||||||
|
add_launcher "c:\Program Files\Games\LAP\LAP.exe"
|
||||||
|
;;
|
||||||
"BG Mine Sweeper")
|
"BG Mine Sweeper")
|
||||||
bgInstaller="MSB32Setup10.exe"
|
bgInstaller="MSB32Setup10.exe"
|
||||||
export bottle="bg"
|
export bottle="bg"
|
||||||
|
Loading…
Reference in New Issue
Block a user