clean both folder if empty

This commit is contained in:
fyears
2024-04-27 12:03:36 +08:00
parent df7b6e1848
commit 9fe1b1d5e6
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -86,7 +86,7 @@ const DEFAULT_SETTINGS: RemotelySavePluginSettings = {
deleteToWhere: "system",
agreeToUseSyncV3: false,
conflictAction: "keep_newer",
howToCleanEmptyFolder: "skip",
howToCleanEmptyFolder: "clean_both",
protectModifyPercentage: 50,
syncDirection: "bidirectional",
obfuscateSettingFile: true,
@@ -896,7 +896,7 @@ export default class RemotelySavePlugin extends Plugin {
this.settings.conflictAction = "keep_newer";
}
if (this.settings.howToCleanEmptyFolder === undefined) {
this.settings.howToCleanEmptyFolder = "skip";
this.settings.howToCleanEmptyFolder = "clean_both";
}
if (this.settings.protectModifyPercentage === undefined) {
this.settings.protectModifyPercentage = 50;