fix: open-config-directory not opening correct folder on windows

closes #365
This commit is contained in:
tomasklaen
2022-11-11 09:45:14 +01:00
parent 5f5bf4b842
commit 107e758144

View File

@@ -1001,7 +1001,7 @@ mp.add_key_binding(nil, 'audio-device', create_self_updating_menu_opener({
})) }))
mp.add_key_binding(nil, 'open-config-directory', function() mp.add_key_binding(nil, 'open-config-directory', function()
local config_path = mp.command_native({'expand-path', '~~/mpv.conf'}) local config_path = mp.command_native({'expand-path', '~~/mpv.conf'})
local config = serialize_path(config_path) local config = serialize_path(normalize_path(config_path))
if config then if config then
local args local args