fix(fs): file editing on windows

This commit is contained in:
Andelf
2023-03-16 21:19:11 +08:00
parent 94b27014dd
commit 2ad52eab3e
13 changed files with 49 additions and 118 deletions

View File

@@ -200,7 +200,7 @@
(if (and (gp-config/local-protocol-asset? src)
(file-sync/current-graph-sync-on?))
(let [*exist? (::exist? state)
;; special handling for asset:// protcol
;; special handling for asset:// protocol
;; Capacitor uses a special URL for assets loading
asset-path (gp-config/remove-asset-protocol src)
asset-path (fs/asset-path-normalize asset-path)]