You've already forked joplin
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:
@ -1,5 +1,6 @@
|
||||
import { DefaultPluginsInfo } from '../PluginService';
|
||||
import Setting from '../../../models/Setting';
|
||||
import shim from '../../../shim';
|
||||
|
||||
const getDefaultPluginsInfo = (): DefaultPluginsInfo => {
|
||||
const defaultPlugins = {
|
||||
@ -7,6 +8,11 @@ const getDefaultPluginsInfo = (): DefaultPluginsInfo => {
|
||||
settings: {
|
||||
'path': `${Setting.value('profileDir')}`,
|
||||
},
|
||||
|
||||
// Joplin Portable is more likely to run on a device with low write speeds
|
||||
// and memory. Because Simple Backup has auto-backup enabled by default,
|
||||
// we disable it in Joplin Portable.
|
||||
enabled: !shim.isPortable(),
|
||||
},
|
||||
};
|
||||
return defaultPlugins;
|
||||
|
Reference in New Issue
Block a user