FileExplorer icon indicating copy to clipboard operation
FileExplorer copied to clipboard

made mountpoint retrieval cross-platform

Open RaphGL opened this issue 2 years ago • 0 comments

Very small change that removes the windows bias ('\' is not a path separator on unix systems, this would result in the program erroring out on any of the file operations)

This PR makes the path canonical, meaning it expands the whole path to it's absolute path. So on most unix systems it would give you / or /home/user or whatever mountpoint is being used. On windows it would give you C:\\ or equivalent lettered disks.

RaphGL avatar Jul 03 '23 13:07 RaphGL