1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Desktop: Install default plugins on first app start (#6585)

This commit is contained in:
Mayank Bondre
2022-09-01 16:14:33 +05:30
committed by GitHub
parent 1069d7d6fb
commit 01f4bb0591
14 changed files with 382 additions and 7 deletions

View File

@ -0,0 +1,18 @@
import { DefaultPluginsInfo } from '../PluginService';
import Setting from '../../../models/Setting';
const getDefaultPluginsInfo = (): DefaultPluginsInfo => {
const defaultPlugins = {
'io.github.jackgruber.backup': {
version: '1.0.2',
settings: {
'path': `${Setting.value('profileDir')}`,
},
},
'plugin.calebjohn.rich-markdown': {
version: '0.8.3',
},
};
return defaultPlugins;
};
export default getDefaultPluginsInfo;