mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
On Windows, filepath.Join produces backslash separators that were written directly into .gitignore and JSON metadata files. Git does not match backslash patterns, and metadata subdirs with backslashes corrupt source URLs during updates. Use strings.ReplaceAll(s, "\\", "/") at write boundaries — matching the existing pattern in sync.go — to ensure config/metadata files always contain forward slashes regardless of OS.