Fixed a bug that will cause a file not found error on first run.

This commit is contained in:
Storm Dragon 2022-02-16 19:18:15 -05:00
parent aaf61bddfb
commit a900984ac7

View File

@ -500,6 +500,7 @@ echo "Loading documentation, please wait..."
winetricks() { winetricks() {
# Report used packages to the winetricks maintainer so he knows they are being used. # Report used packages to the winetricks maintainer so he knows they are being used.
if ! [[ -e "${XDG_CACHE_HOME:-$HOME/.cache}/winetricks/track_usage" ]]; then if ! [[ -e "${XDG_CACHE_HOME:-$HOME/.cache}/winetricks/track_usage" ]]; then
mkdir -p "${XDG_CACHE_HOME:-$HOME/.cache}/winetricks/"
echo "1" > "${XDG_CACHE_HOME:-$HOME/.cache}/winetricks/track_usage" echo "1" > "${XDG_CACHE_HOME:-$HOME/.cache}/winetricks/track_usage"
fi fi
# Download or update agm's copy of winetricks # Download or update agm's copy of winetricks
@ -978,7 +979,7 @@ gameList=(
"Super Dogs Bone Hunt" "Super Dogs Bone Hunt"
"Super Egg Hunt" "Super Egg Hunt"
"Super Liam" "Super Liam"
#"Super Mario Bros" "Super Mario Bros"
"Survive the Wild" "Survive the Wild"
"Swamp" "Swamp"
"Technoshock" "Technoshock"