Skip to content

Conversation

@Legend-Master
Copy link
Contributor

@Legend-Master Legend-Master commented Nov 17, 2025

Fix tauri-apps/plugins-workspace#3102

Use canonicalize instead of simplified here to allow mixed path seperators to work (e.g. C:\Program Files/Some App)

Also added a null check guard on ILCreateFromPathW for cases where we have reached MAX_PATH limit or hit other errors to prevent SHOpenFolderAndSelectItems from hanging

Finally added ILFree for the ITEMIDLIST returned from ILCreateFromPathW which I forgot to add in #104

@Byron
Copy link
Owner

Byron commented Nov 17, 2025

Thanks a lot for the fix!
I will create a release right away.

@Byron Byron merged commit a1ca334 into Byron:main Nov 17, 2025
7 checks passed
@Byron
Copy link
Owner

Byron commented Nov 17, 2025

And here it is: https://github.com/Byron/open-rs/releases/tag/v5.3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

openPath opens Explorer twice

2 participants