2013-09-30, 20:20
(2013-09-30, 19:33)Cocotus Wrote:Awesome!(2013-09-30, 19:23)Dekker500 Wrote: Instead of the root, why not put the configuration files (Settings.xml, AdvancedSettings.xml, database, and genre.xml) into a Configuration or Settings folder. That way it is easier to backup, restore, swap between multiple profiles, or even perform version upgrades.
With just a tiny bit of code, you could provide the users with an easy upgrade mechanism: unzip into their old Ember folder. If no Settings folder exists on startup, create it. If existing settings file exists, use it, otherwise generate a default version. Do not include the actual settings files in the zip file, to prevent the user's from being overwritten.
Great idea! Already done this for Ratings.xml and Genre.xml - they are placed in new "Settings" folder - will look into other Configuration files later