From ac3af7b7596ec5b7d5bcc8361262345670a0aaad Mon Sep 17 00:00:00 2001 From: MathieuC Date: Tue, 25 May 2021 18:51:52 +0200 Subject: [PATCH] fix for uninstalls --- ExtensionStore/lib/store.js | 2 +- ExtensionStore/tbpackage.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ExtensionStore/lib/store.js b/ExtensionStore/lib/store.js index a00fb7a..7a826e5 100644 --- a/ExtensionStore/lib/store.js +++ b/ExtensionStore/lib/store.js @@ -966,7 +966,7 @@ LocalExtensionList.prototype.uninstall = function (extension) { // Remove packages recursively as they have a parent directory. if (extension.package.isPackage) { - var folder = new Dir(this.installFolder + "packages/" + extension.name.replace(" ", "")); + var folder = new Dir(this.installFolder + "/packages/" + extension.name.replace(" ", "")); this.log.debug("removing folder " + folder.path); if (folder.exists) folder.rmdirs(); } else { diff --git a/ExtensionStore/tbpackage.json b/ExtensionStore/tbpackage.json index 8f0a6b5..a1a9cba 100644 --- a/ExtensionStore/tbpackage.json +++ b/ExtensionStore/tbpackage.json @@ -1,6 +1,6 @@ { "name": "ExtensionStore", - "version": "0.2.5", + "version": "0.2.6", "compatibility": "Harmony Premium 16", "description": "Changelog: Improved error handling during loading.", "isPackage": "true",