Fix filepath separator and external files on windows

For some reason, '/' is used instead of '\' on windows when loading
lang. FSJoin will now use whatever already exists in the path.
app.GetPath now creates a DirFS from the containing directory instead of
app.systemFS, which fixes loading on windows.
This commit is contained in:
Harvey Tindall
2021-02-18 12:58:30 +00:00
parent cdc837e781
commit adbb5b9d38
5 changed files with 21 additions and 8 deletions
+3 -3
View File
@@ -228,9 +228,9 @@
"integrity": "sha1-vfpzUplmTfr9NFKe1PhSKidf6lY="
},
"esbuild": {
"version": "0.8.46",
"resolved": "https://registry.npm.taobao.org/esbuild/download/esbuild-0.8.46.tgz",
"integrity": "sha1-j8cjDOMBmxLiVTOZ8MA4dacpwms="
"version": "0.8.47",
"resolved": "https://registry.npm.taobao.org/esbuild/download/esbuild-0.8.47.tgz",
"integrity": "sha1-XVxZt9y4og3632WpheXlynsk7/I="
},
"escalade": {
"version": "3.1.1",