Store data in ~/.local/share/osu
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1260b52c98
commit
5905ebd16f
4
run.sh
4
run.sh
|
@ -12,7 +12,7 @@ trap "set_latency_offset 0" SIGINT SIGTERM EXIT
|
||||||
|
|
||||||
BASEDIR="$(dirname $(realpath -s $0))"
|
BASEDIR="$(dirname $(realpath -s $0))"
|
||||||
|
|
||||||
mkdir -p "$BASEDIR/data" "$BASEDIR/import"
|
mkdir -p "$HOME/.local/share/osu" "$BASEDIR/import"
|
||||||
|
|
||||||
docker run \
|
docker run \
|
||||||
--rm \
|
--rm \
|
||||||
|
@ -25,7 +25,7 @@ docker run \
|
||||||
-e PULSE_SERVER=/run/user/$(id -u)/pulse/native \
|
-e PULSE_SERVER=/run/user/$(id -u)/pulse/native \
|
||||||
-e WAYLAND_DISPLAY \
|
-e WAYLAND_DISPLAY \
|
||||||
-e XDG_RUNTIME_DIR \
|
-e XDG_RUNTIME_DIR \
|
||||||
-v "$BASEDIR/data/:/home/osu/osu/" \
|
-v "$HOME/.local/share/osu/:/home/osu/osu/" \
|
||||||
-v "$BASEDIR/import/:$BASEDIR/import/" \
|
-v "$BASEDIR/import/:$BASEDIR/import/" \
|
||||||
-v "$HOME/.config/pulse/cookie:/run/pulse/cookie" \
|
-v "$HOME/.config/pulse/cookie:/run/pulse/cookie" \
|
||||||
-v "${XDG_RUNTIME_DIR}:${XDG_RUNTIME_DIR}" \
|
-v "${XDG_RUNTIME_DIR}:${XDG_RUNTIME_DIR}" \
|
||||||
|
|
Loading…
Reference in a new issue