From a5d93fcd729ce97733fc71d84cf0d2848b8f8b8f Mon Sep 17 00:00:00 2001 From: lxsang Date: Sat, 17 Apr 2021 20:14:35 +0200 Subject: [PATCH] enhance vfs path handling --- src/core/vfs.ts | 2 +- src/packages/CodePad/libs/corelib.d.ts.zip | Bin 121253 -> 121253 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/vfs.ts b/src/core/vfs.ts index 1ef45a9..082d8a5 100644 --- a/src/core/vfs.ts +++ b/src/core/vfs.ts @@ -356,7 +356,7 @@ namespace OS { return; } this.genealogy = re.split("/").filter(s=> s!=""); - this.path = this.genealogy.join("/"); + this.path = `${this.protocol}://${this.genealogy.join("/")}`; if (!this.isRoot()) { this.basename = this.genealogy[ this.genealogy.length - 1 diff --git a/src/packages/CodePad/libs/corelib.d.ts.zip b/src/packages/CodePad/libs/corelib.d.ts.zip index 2a405df2ec2e016aabf417c01bdd0da6bd60fa85..1954598b188d6f0f01bfe78d8abd8bb44d328143 100644 GIT binary patch delta 49 zcmZ3wnSJSIcJ2UgW)=|!1_lm>(-XN>SnE`)6B-&#wwf@C-ef#I-RmZ!5mTM&^tzjj F>HuL%4;KIc delta 49 zcmZ3wnSJSIcJ2UgW)=|!1_llWmx