Hopefully finalized the XDG spec stuff. AGM version of winetricks now stored in XDG_DATA_HOME.

This commit is contained in:
Storm Dragon 2022-03-01 22:02:04 -05:00
parent e40c3ce569
commit cfbfe4224d

View File

@ -501,7 +501,8 @@ winetricks() {
echo "1" > "${XDG_CACHE_HOME:-$HOME/.cache}/winetricks/track_usage"
fi
# Download or update agm's copy of winetricks
winetricksPath="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager"
winetricksPath="${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager"
mkdir -p "${winetricksPath}"
if [[ ! -e "${winetricksPath}/winetricks" ]]; then
checkWinetricksUpdate="true"
download "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks"