Hopefully finalized the XDG spec stuff. AGM version of winetricks now stored in XDG_DATA_HOME.
This commit is contained in:
parent
e40c3ce569
commit
cfbfe4224d
@ -501,7 +501,8 @@ 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
|
||||||
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
|
if [[ ! -e "${winetricksPath}/winetricks" ]]; then
|
||||||
checkWinetricksUpdate="true"
|
checkWinetricksUpdate="true"
|
||||||
download "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks"
|
download "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks"
|
||||||
|
Loading…
Reference in New Issue
Block a user