nomis51 / Menagerie

A Path of Exile enhancement trading tool
Other
27 stars 2 forks source link

Enhancement: Keep the previous app version configuration #11

Closed nomis51 closed 3 years ago

nomis51 commented 3 years ago

Currently when the app update itself, it doesn't keep the configuration (it's not deleted, it just not transfered to the new version), mainly because the app structure and especially the internal configuration structure was changing in about every version, which could've caused several unexpected issues, because the configuration of the old and the new app, are not compatible.

With that said, now the app structure has been pretty stable in the last couple versions, so it would be nice to keep the configuration after an update.

Note, users that want to keep their configuration after an update (while i'm fixing this), can navigate to C:\Users\<their name here>\AppData\Local\Menagerie and they'll see all the app versions there. After that, let's say, the app has been updated from version 1.2.10 to 1.2.11, the user can navigate to the app-1.2.10 folder, which the old version, copy the file named Menagerie.db and paste it the new app version folder, which is app-1.2.11 in this example, then restart the app, if it was running. If any problems occur, this might be because the config is not fully compatible, so go back to the app-1.2.11 folder and delete the Menagerie.db file.

nomis51 commented 3 years ago

Added in update 1.3.1