1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-13 00:10:37 +02:00

Desktop: Disable built-in copy of Simple Backup by default in Joplin Portable (#9907)

This commit is contained in:
Henry Heino
2024-02-08 14:48:39 -08:00
committed by GitHub
parent 627b830739
commit 39b44ff439
4 changed files with 40 additions and 0 deletions

View File

@ -65,6 +65,11 @@ export const getDefaultPluginPathsAndSettings = async (
// As such, we recreate the plugin state if necessary.
if (!draft[pluginId]) {
draft[pluginId] = defaultPluginSetting();
const enabledByDefault = defaultPluginsInfo[pluginId].enabled;
if (typeof enabledByDefault === 'boolean') {
draft[pluginId].enabled = enabledByDefault;
}
}
});
}