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%|*}"
|
||||
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.
|
||||
WINEPREFIX="${HOME}/.local/wine/${bottle}" wineserver -k
|
||||
wineserver -k
|
||||
# remove the game
|
||||
rm -rf "${HOME}/.local/wine/${bottle}"
|
||||
rm -rf "${WINEPREFIX}"
|
||||
# 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."
|
||||
fi
|
||||
exit 0
|
||||
@ -664,6 +664,7 @@ gameList=(
|
||||
"BG Free Cell Solitaire"
|
||||
"BG Hearts"
|
||||
"BG Klondike Solitaire"
|
||||
"BG LAP"
|
||||
"BG Mine Sweeper"
|
||||
"BG Penguin Solitaire"
|
||||
"BG Scorpion Solitaire"
|
||||
@ -892,6 +893,14 @@ case "${game}" in
|
||||
wine "${cache}/${bgInstaller}" /silent
|
||||
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")
|
||||
bgInstaller="MSB32Setup10.exe"
|
||||
export bottle="bg"
|
||||
|
Loading…
Reference in New Issue
Block a user