diff options
Diffstat (limited to 'osdep/path-unix.c')
-rw-r--r-- | osdep/path-unix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/osdep/path-unix.c b/osdep/path-unix.c index c3b70d7e06..cea4235c15 100644 --- a/osdep/path-unix.c +++ b/osdep/path-unix.c @@ -60,5 +60,7 @@ const char *mp_get_platform_path_unix(void *talloc_ctx, const char *type) return old_home; if (strcmp(type, "global") == 0) return MPV_CONFDIR; + if (strcmp(type, "desktop") == 0) + return getenv("HOME"); return NULL; } |