-
Notifications
You must be signed in to change notification settings - Fork 28
Description
UISharedService.cs:574 - 576 causes MacOS users to be unable to use Snowcloak. MacOS creates .DS_STORE files, and sometimes Linux itself creates a hidden "lost.dir" folder as well on EXT4 filesystems.
My understanding is that the current service checks for any file that's NOT "subst" which causes people to be unable to use ANY folder considering that EXT4 and MacOS both create hidden metadata files on their filesystems.
The code to be blamed:
if (!_cacheDirectoryHasOtherFilesThanCache && cacheSubDirs.Select(f => Path.GetFileName(Path.TrimEndingDirectorySeparator(f))).Any(f => !f.Equals("subst", StringComparison.OrdinalIgnoreCase)
Furthermore, this also breaks people swapping OSes and reusing the same snowcloak folder, as Snowcloak sees its own shadow and gets scared of itself, meaning six more weeks of winter effectively. 😂