Commit 36730173 authored by Manuel Moos's avatar Manuel Moos
Browse files

Use XDG data dir for log

parent 6e6952cc
Pipeline #236188484 passed with stages
in 50 minutes and 1 second
......@@ -24,7 +24,7 @@ elif ! test -z "${STEAM_RUNTIME_LIBRARY_PATH}"; then
# Steam already sets up LD_LIBRARY_PATH so all its libraries are found first
echo "Running in Steam, no tinkering required."
LOGDIR=~/.${EXEC}/var
LOGDIR=${XDG_DATA_HOME:-~/.local/share}/${EXEC}/var
mkdir -p ${LOGDIR}
LOG=${LOGDIR}/steamlog.txt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment