I’m building my first Flatpak.
My app uses a configuration file (lvnauth.conf) to store user settings, such as color preferences.
My question is: how can I make Flatpak not overwrite the configuration file each time my app has a new version? The problem I’m trying to avoid is replacing the user’s preferences on each new version of my Flatpak app.
I’m trying to get a clear picture as to what happens when a Flatpak app updates to a newer version of my app. Will it overwrite all the files to the newest version or just some files? What is the ideal way of dealing with configuration files?