From 26fc70dbfdb11844497f34e2d96ecd6a011cd6bc 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. Mistakenly reverted as part of the default configuration directory location switch-back in aa18a8e1cde663caeabd93af7d57a745c1a76af6. Separation of the mpv executable directory from old_path is a good change now that we warn about the old_config directory also existing. Fixes #8232 Fixes #8244 Fixes #8262 --- options/path.c | 1 + 1 file changed, 1 insertion(+) (limited to 'options') diff --git a/options/path.c b/options/path.c index 9c996ce664..504adb7c84 100644 --- a/options/path.c +++ b/options/path.c @@ -59,6 +59,7 @@ static const char *const config_dirs[] = { "home", "old_home", "osxbundle", + "exe_dir", "global", }; -- cgit v1.2.3