What's Changed
Fixes "reveal in folder" failing on Windows virtual drives (RAM disks) and mapped network drives with os error 2. Root cause: tauri-plugin-opener internally calls dunce::canonicalize(), which relies on GetFinalPathNameByHandleW — an API unsupported by RAM disk drivers and producing \\?\UNC\ prefixes for mapped drives that ILCreateFromPathW cannot handle.
🐛 Bug Fixes
- Reveal in folder on RAM disks —
GetFinalPathNameByHandleW(used by canonicalize()) fails on virtual file system drivers (ImDisk, Ruanmei Mofang RAM disks). Fixed with best-effort canonicalization: gracefully falls back to the normalized path when canonicalize() fails (rust-lang#99608). - Reveal in folder on mapped drives —
tauri-plugin-openerconverts mapped-drive paths to\\?\UNC\server\share\fileinternally, whichILCreateFromPathWcannot handle. Fixed by bypassing the plugin on Windows and callingILCreateFromPathW+SHOpenFolderAndSelectItemsdirectly with UNC prefix stripping (tauri#3304). - Path separator normalization — normalize_path now uses
Path::components().collect()to convert forward slashes to native backslashes on Windows. - Error logging — Fixed
[object Object]in error logs wheninvokerejects with a structuredAppError.
📦 Downloads
| Platform | Architecture | File |
|---|---|---|
| macOS | Apple Silicon · Intel | .dmg
|
| Windows | x64 · ARM64 | -setup.exe
|
| Linux | x64 · ARM64 | .AppImage .deb
|