-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Feature Request: Support for opening .lnk files on Windows
Problem
Currently, Spacedrive on Windows does not handle .lnk shortcut files correctly. Opening a .lnk file might not open the actual target, and Spacedrive doesn't show compatible applications for the shortcut's target.
Proposed Solution
Implement .lnk resolution in the Windows file opening backend. When a .lnk file is encountered:
- Resolve it to its actual target path using
IShellLink. - Open the target path instead of the shortcut file.
- For getting compatible apps, use the target's extension instead of .lnk.
Implementation Details
Use windows-rs with IShellLinkW and IPersistFile to resolve the shortcut. This requires the Win32_Storage_FileSystem feature in the windows crate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels