Store data in ~/.local/share/osu
continuous-integration/drone/push Build is passing Details

master
Simon Bruder 2020-09-13 14:45:38 +02:00
parent 1260b52c98
commit 5905ebd16f
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
1 changed files with 2 additions and 2 deletions

4
run.sh
View File

@ -12,7 +12,7 @@ trap "set_latency_offset 0" SIGINT SIGTERM EXIT
BASEDIR="$(dirname $(realpath -s $0))"
mkdir -p "$BASEDIR/data" "$BASEDIR/import"
mkdir -p "$HOME/.local/share/osu" "$BASEDIR/import"
docker run \
--rm \
@ -25,7 +25,7 @@ docker run \
-e PULSE_SERVER=/run/user/$(id -u)/pulse/native \
-e WAYLAND_DISPLAY \
-e XDG_RUNTIME_DIR \
-v "$BASEDIR/data/:/home/osu/osu/" \
-v "$HOME/.local/share/osu/:/home/osu/osu/" \
-v "$BASEDIR/import/:$BASEDIR/import/" \
-v "$HOME/.config/pulse/cookie:/run/pulse/cookie" \
-v "${XDG_RUNTIME_DIR}:${XDG_RUNTIME_DIR}" \