From 2b67084392b4a769666344287678d1d6840e62c1 Mon Sep 17 00:00:00 2001 From: lxsang Date: Tue, 4 Aug 2020 20:00:34 +0200 Subject: [PATCH] fix path error on PackageFileHandle --- src/core/vfs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/vfs.ts b/src/core/vfs.ts index 1f3bb28..deae749 100644 --- a/src/core/vfs.ts +++ b/src/core/vfs.ts @@ -1337,10 +1337,10 @@ namespace OS { } else { // get the correct path of the package - pkg_name = this.genealogy[0]; + pkg_name = this.genealogy.shift(); if(OS.setting.system.packages[pkg_name]) { - this.setPath(OS.setting.system.packages[pkg_name].path); + this.setPath(OS.setting.system.packages[pkg_name].path + "/" + this.genealogy.join("/")); } else {