Skip to content

Commit

Permalink
Merge pull request LykosAI#646 from ionite34/fix-native-1
Browse files Browse the repository at this point in the history
Fix CreateShellItem error due to mismatched slashes in path
  • Loading branch information
ionite34 committed May 31, 2024
2 parents 1b4e8d5 + 3f8e967 commit 104d1cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2
- Maximized state is now stored on exit and restored on launch
- Clicking outside the Select Model Version dialog will now close it
### Fixed
- Fixed error when deleting Inference browser images in a nested project path with recycle bin mode
- Fixed package installs not showing any progress messages

## v2.11.0-dev.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ public void Dispose()

private static ComReleaser<IShellItem> CreateShellItem(string path)
{
// Normalize path slashes
path = path.Replace('/', '\\');

return new ComReleaser<IShellItem>(
(IShellItem)SHCreateItemFromParsingName(path, IntPtr.Zero, ref _shellItemGuid)
);
Expand Down

0 comments on commit 104d1cf

Please sign in to comment.