mirror of
https://github.com/laurent22/joplin.git
synced 2025-02-01 19:15:01 +02:00
Deskop: Integrated Welcome notes to desktop
This commit is contained in:
parent
dd4b46a88b
commit
69b4b4d1f4
@ -565,9 +565,10 @@ class BaseApplication {
|
||||
if (!currentFolder) currentFolder = await Folder.defaultFolder();
|
||||
Setting.setValue('activeFolderId', currentFolder ? currentFolder.id : '');
|
||||
|
||||
await WelcomeUtils.createWelcomeItems();
|
||||
|
||||
// await this.testing();process.exit();
|
||||
if (!Setting.value('welcome.wasBuilt')) {
|
||||
await WelcomeUtils.createWelcomeItems();
|
||||
Setting.setValue('welcome.wasBuilt', true);
|
||||
}
|
||||
|
||||
return argv;
|
||||
}
|
||||
|
@ -165,6 +165,7 @@ class Setting extends BaseModel {
|
||||
'resourceService.lastProcessedChangeId': { value: 0, type: Setting.TYPE_INT, public: false },
|
||||
'searchEngine.lastProcessedChangeId': { value: 0, type: Setting.TYPE_INT, public: false },
|
||||
'searchEngine.initialIndexingDone': { value: false, type: Setting.TYPE_BOOL, public: false },
|
||||
'welcome.wasBuilt': { value: false, type: Setting.TYPE_BOOL, public: false },
|
||||
};
|
||||
|
||||
return this.metadata_;
|
||||
|
@ -66,7 +66,7 @@ module.exports = {
|
||||
"folders": [
|
||||
{
|
||||
"id": "9bb5d498aba74cc6a047cfdc841e82a1",
|
||||
"title": "Welcome"
|
||||
"title": "Welcome!"
|
||||
}
|
||||
]
|
||||
}
|
@ -90,7 +90,7 @@ async function main() {
|
||||
|
||||
const rootFolder = {
|
||||
id: itemIdFromPath('folder_Welcome'),
|
||||
title: 'Welcome',
|
||||
title: 'Welcome!',
|
||||
};
|
||||
|
||||
for (let i = 0; i < filenames.length; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user