mirror of
https://github.com/colanode/colanode.git
synced 2025-12-16 11:47:47 +01:00
Closes #68 When the desktop app is running on os.platform() === 'win32', the path requires preprocessing before it can be used as part of a local file URI. The logical components of this fix are: - Add / in front of an absolute path (a path with a drive root like C:) that is already present in *nix paths because that's how the fs already represents an absolute path - Convert all \ to / to conform to the file:// URI spec This commit adds the required preprocessing in the file-system and protocols modules of the desktop app and fixes the issue of the disappearing account button in the SidebarMenuFooter UI component when a custom avatar is used for the user account that is logged in.