From 510df43d8d3b3c8526898c7af678877895e3da26 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sat, 16 Apr 2022 13:36:14 +0100 Subject: [PATCH] Desktop: Multi-profiles: Share plugins between profiles --- packages/lib/BaseApplication.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib/BaseApplication.ts b/packages/lib/BaseApplication.ts index 08f40a398..2cb9763fe 100644 --- a/packages/lib/BaseApplication.ts +++ b/packages/lib/BaseApplication.ts @@ -738,7 +738,7 @@ export default class BaseApplication { Setting.setConstant('tempDir', tempDir); Setting.setConstant('pluginDataDir', `${profileDir}/plugin-data`); Setting.setConstant('cacheDir', cacheDir); - Setting.setConstant('pluginDir', `${profileDir}/plugins`); + Setting.setConstant('pluginDir', `${rootProfileDir}/plugins`); SyncTargetRegistry.addClass(SyncTargetNone); SyncTargetRegistry.addClass(SyncTargetFilesystem);