Taitava / obsidian-shellcommands

Execute system commands via hotkeys or command palette in Obsidian (https://obsidian.md). Some automated events are also supported, and execution via URI links.
GNU General Public License v3.0
351 stars 11 forks source link

Internal: Save new main settings fields to file already during loading #111

Closed Taitava closed 2 years ago

Taitava commented 2 years ago

Currently, if a new version creates new settings fields, they are only saved to disk when a user changes settings (= causes a write).

In other words, this change will concern quite small number of situations, but I want the behavior to be consistent. A real practical difference is that if new field creation does not happen at startup, no backup file will be created from the settings. I want it so that even a small change to the structure of the settings file will trigger the backup file creation.

Taitava commented 2 years ago

Done.

Taitava commented 2 years ago

Released.