From c3694f0acb7f71daac7606fafbadcb7b500ca35e Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 25 Jun 2020 17:44:46 +0200 Subject: path: do not use old_home for win32 exe dir Apparently mpv supports loading config files from the same directory as the mpv.exe. This is a fallback of some sort. It used the old_home mechanism. I want to add a warning if old_home exists, but that would always show the warning on win32. Obviously we don't want that. Add a separate exe_dir entry to deal with that. Untested, but probably works. --- DOCS/man/mpv.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'DOCS/man/mpv.rst') diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst index 8b87c37285..92c0052c55 100644 --- a/DOCS/man/mpv.rst +++ b/DOCS/man/mpv.rst @@ -438,6 +438,8 @@ Name Meaning ``~~global/`` the global config path, if available (not on win32) ``~~osxbundle/`` the OSX bundle resource path (OSX only) ``~~desktop/`` the path to the desktop (win32, OSX) +``~~exe_dir`` win32 only: the path to the directory containing the exe (for + config file purposes; ``$MPV_HOME`` overrides it) ``~~old_home`` do not use ================ =============================================================== -- cgit v1.2.3