mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-10-09 15:58:34 +00:00
9f4272f83c
The previous approach tried to reconstruct paths for nested files using filePathMap keyed by f.name (base file names), but for folder drops rootName is the folder name which doesn't exist in the map. Now we call getPathForFile directly on each result.file, which should work for all files in Electron. The filePathMap reconstruction is kept as a fallback. This ensures large files inside dropped folders use stream transfers instead of falling back to arrayBuffer() which causes OOM. Co-Authored-By: Claude <noreply@anthropic.com>