Merge branch 'testing' of https://gitlab.com/stormdragon2976/audiogame-manager into testing
This commit is contained in:
commit
60e1470145
@ -434,6 +434,15 @@ help() {
|
|||||||
for i in "${!command[@]}" ; do
|
for i in "${!command[@]}" ; do
|
||||||
echo "-${i/:/ <parameter>}: ${command[${i}]}"
|
echo "-${i/:/ <parameter>}: ${command[${i}]}"
|
||||||
done | sort
|
done | sort
|
||||||
|
echo
|
||||||
|
echo "Some settings that are often used can be stored in a settings.conf file."
|
||||||
|
echo "If wanted, place it at ${configFile%/*}/settings.conf."
|
||||||
|
echo "The syntax is variable=\"value\""
|
||||||
|
echo
|
||||||
|
echo "noCache=\"true\" # Do not keep downloaded items in the cache."
|
||||||
|
echo "norh=\"true\" # Do not install RHVoice."
|
||||||
|
echo "redownload=\"true\" # Redownload sources, do not use the version stored in cache."
|
||||||
|
echo "winedebug=\"flag(s)\" # Set wine debug flags, useful for development."
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -821,6 +830,10 @@ cache="${XDG_CACHE_HOME:-$HOME/.cache}/audiogame-manager"
|
|||||||
configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf"
|
configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf"
|
||||||
mkdir -p "${cache}"
|
mkdir -p "${cache}"
|
||||||
mkdir -p "${configFile%/*}"
|
mkdir -p "${configFile%/*}"
|
||||||
|
# Load any arguments from settings.conf file
|
||||||
|
if [[ -r "${configFile%/*}/settings.conf" ]]; then
|
||||||
|
source "${configFile%/*}/settings.conf"
|
||||||
|
fi
|
||||||
# Update the cache for older versions of audiogame-manager
|
# Update the cache for older versions of audiogame-manager
|
||||||
if [[ -d "${configFile%/*}/cache" ]]; then
|
if [[ -d "${configFile%/*}/cache" ]]; then
|
||||||
{ mv -v "${configFile%/*}/cache/"* "${cache}"
|
{ mv -v "${configFile%/*}/cache/"* "${cache}"
|
||||||
@ -829,7 +842,7 @@ if [[ -d "${configFile%/*}/cache" ]]; then
|
|||||||
fi
|
fi
|
||||||
checkWinetricksUpdate="false"
|
checkWinetricksUpdate="false"
|
||||||
# Turn off debug messages
|
# Turn off debug messages
|
||||||
export WINEDEBUG="-all"
|
export WINEDEBUG="${winedebug:--all}"
|
||||||
# Compatibility with box86
|
# Compatibility with box86
|
||||||
export BOX86_NOBANNER=1
|
export BOX86_NOBANNER=1
|
||||||
# During installation, you can set winVer to the versions available.
|
# During installation, you can set winVer to the versions available.
|
||||||
|
Loading…
Reference in New Issue
Block a user