Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix symlinks update (#1000)

Stanimir17c3db0500d5
diff --git a/scripts/setupextensions.js b/scripts/setupextensions.js
index 5c161eb83..ae29bf7c7 100644
--- a/scripts/setupextensions.js
+++ b/scripts/setupextensions.js
@@ -34,6 +34,8 @@ const extensionList = [
{ package: '@tagspaces/legacy-ext', path: 'extCommons', url: 'https://github.com/tagspaces/extCommons' },
];
+sh.rm('-rf', '~/.config/yarn/link/@tagspaces');
+
if (!sh.test('-d', extensionDir)) {
sh.mkdir(extensionDir);
}