From 7a0271429944fd1f8c21013c228cbeeec9f2b558 Mon Sep 17 00:00:00 2001 From: PlayeRom Date: Fri, 29 Aug 2025 21:14:11 +0200 Subject: [PATCH] Fix file scanning regardless of OS --- src/ddsFindScanner.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ddsFindScanner.jl b/src/ddsFindScanner.jl index 152dade..f3cefcc 100644 --- a/src/ddsFindScanner.jl +++ b/src/ddsFindScanner.jl @@ -984,7 +984,10 @@ function syncScan() @info "ddsFindScanner.syncScan: Scanning directory: $dir" for (root, _, files) in walkdir(dir; onerror = SKIP_NOACCESS) # Filtra solo le cartelle di interesse per le performance - if !occursin("/Orthophotos", root) continue end + found = any(startswith.(splitpath(root), "Orthophotos")) + if !found + continue + end for file in files fullpath = joinpath(root, file)