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. --- options/path.c | 1 + 1 file changed, 1 insertion(+) (limited to 'options') diff --git a/options/path.c b/options/path.c index 9c996ce664..7afa3c1dc0 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