mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
feat(electron): replace windows path \\ with /
This commit is contained in:
@@ -139,10 +139,9 @@
|
||||
(utils/win32 file))
|
||||
file
|
||||
|
||||
(and electron-local-repo? util/win32?)
|
||||
(str (config/get-repo-dir repo-url) "\\" file)
|
||||
|
||||
(and electron-local-repo? (not= "/" (first file)))
|
||||
(and electron-local-repo? (or
|
||||
util/win32?
|
||||
(not= "/" (first file))))
|
||||
(str (config/get-repo-dir repo-url) "/" file)
|
||||
|
||||
:else
|
||||
|
||||
Reference in New Issue
Block a user