mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 23:02:37 +00:00
TOOLS/lua/autoload.lua: ignores all files starting with "."
This commit is contained in:
parent
7840125e22
commit
8a7614a0fb
@ -72,6 +72,9 @@ function find_and_add_entries()
|
||||
return
|
||||
end
|
||||
table.filter(files, function (v, k)
|
||||
if string.match(v, "^%.") then
|
||||
return false
|
||||
end
|
||||
local ext = get_extension(v)
|
||||
if ext == nil then
|
||||
return false
|
||||
|
Loading…
Reference in New Issue
Block a user