diff --git a/data/core/common.lua b/data/core/common.lua index 1a89f23..3cee3ff 100644 --- a/data/core/common.lua +++ b/data/core/common.lua @@ -157,6 +157,7 @@ end local function fuzzy_match_items(items, needle, files) local res = {} + needle = (PLATFORM == "Windows" and files) and needle:gsub('/', PATHSEP) or needle for _, item in ipairs(items) do local score = system.fuzzy_match(tostring(item), needle, files) if score then