add more readme

This commit is contained in:
fyears 2022-03-19 14:12:06 +08:00
parent 15b14ac488
commit 50ae224769
2 changed files with 3 additions and 2 deletions

View File

@ -1288,7 +1288,7 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
new Setting(syncConfigDirDiv) new Setting(syncConfigDirDiv)
.setName("sync config dir (experimental)") .setName("sync config dir (experimental)")
.setDesc( .setDesc(
`Sync config dir ${this.app.vault.configDir} or not. Please be aware that this may impact all your plugins' or Obsidian's settings, and may require you restart Obsidian after sync. Enable this at your own risk.` `Sync config dir ${this.app.vault.configDir} or not (inner folder .git and node_modules would be ignored). Please be aware that this may impact all your plugins' or Obsidian's settings, and may require you restart Obsidian after sync. Enable this at your own risk.`
) )
.addDropdown((dropdown) => { .addDropdown((dropdown) => {
dropdown.addOption("disable", "disable"); dropdown.addOption("disable", "disable");

View File

@ -984,7 +984,8 @@ const splitThreeSteps = (syncPlan: SyncPlanType, sortedKeys: string[]) => {
} }
} }
// the deletionOps should be run from shadowest to deepest // the deletionOps should be run from max level to min level
// right now it is sorted by level from min to max (NOT length of key!)
// so we need to reverse it! // so we need to reverse it!
deletionOps.reverse(); // inplace reverse deletionOps.reverse(); // inplace reverse