mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
TOOLS/umpv: prefer $XDG_RUNTIME_DIR
This commit is contained in:
parent
e97e0e4d92
commit
3624a9d3e6
@ -52,7 +52,7 @@ def make_abs(filename):
|
||||
return filename
|
||||
files = (make_abs(f) for f in files)
|
||||
|
||||
SOCK = os.path.join(os.getenv("HOME"), ".umpv_socket")
|
||||
SOCK = os.path.join(os.getenv("XDG_RUNTIME_DIR", os.getenv("HOME")), ".umpv_socket")
|
||||
|
||||
sock = None
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user