Don't update app.json, appearance.json, community-plugins.json, core-plugins.json on app start for no reason

Use case or problem

These files are modified as soon as Obsidian starts:

  • app.json
  • appearance.json
  • core-plugins.json
  • community-plugins.json

And I’m not really sure why since it’s not because the contents change. Also, workspace.json changes on desktop and workspace-mobile.json changes on mobile. Those two make a little more sense since they change when navigating Obsidian in general.

Proposed solution

Only update the files if they are changed. Don’t touch them otherwise, just read them.

Current workaround (optional)

None

Related feature requests (optional)

When searching the Discord, I saw one message talking about this in relation to app.json and how certain sync solutions check modified time to see if a file needs to be synced…