mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-18 05:43:38 +00:00
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>