You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-02 22:49:09 +02:00
minor tweaks
This commit is contained in:
@@ -16,15 +16,12 @@ class WelcomeUtils {
|
||||
defaultFolderId: null,
|
||||
};
|
||||
|
||||
const appType = Setting.value('appType');
|
||||
|
||||
const folderAssets = welcomeAssets.folders;
|
||||
const tempDir = Setting.value('resourceDir');
|
||||
const timestamp = welcomeAssets.timestamp;
|
||||
|
||||
for (let i = 0; i < folderAssets.length; i++) {
|
||||
const folderAsset = folderAssets[i];
|
||||
const folder = await Folder.save({ title: folderAsset.title + ' (' + appType + ')'});
|
||||
const folder = await Folder.save({ title: folderAsset.title + ' (' + Setting.appTypeToLabel(Setting.value('appType')) + ')'});
|
||||
if (!output.defaultFolderId) output.defaultFolderId = folder.id;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user