Closed ThibautSF closed 6 years ago
So update structure almost done (i keep the actual MyXML for now...)
Reintegration of @NicolasGrosjean improvements of versioning system made for Translate Helper. Add improvements (see changelog of all versions between the local one and the online one), and adapt to Paradoxos versioning and UI.
First button → https://github.com/ThibautSF/ParadoxosModManager/releases Second → https://github.com/ThibautSF/ParadoxosModManager/releases/tag/0.5.2 Third → Direct download Last → Ignore update
Maybe too many options... IDK
If you think that there is too much options, the best will be to replace the first three by an "automatic" update. Click on this action will launch a new application which download the zip, extract new files and replace the old one by the new (that's why it should be another application).
Yeah... I was already a bit thinking about auto update for option "Get Update", it can be interesting to dev, i will look that ^^
For now i will remove the "See x.x.x" :D Will keep "All versions" (for all release version), "Get Update" for the last version zip, "Continue".
Now it's a TableView, and it's will be better (but not easier ^^) for future improvements.
Like you suggest, "Automatic" update is here !
Still need to work on the download/update window design. Here an archive to test (it's the last version with the updater but version flag as 0.4.2) ParadoxosFalseOldVersion.zip
The window is too small
I suggest you to use the same Dialog code as used to show the changelog of new content (or a basic question dialog)
Maybe you can also rename Apply update by Apply and Restart
I have an issue, after updating I have in fact an old version ...
After update you should get the 0.5.2 (because it's the last public version)
For the window size i planed to improve size and UI, i don't use dialogue because i needed a stage i can control (for the background download). I will try to make a custom Dialog class.
Main windows has much better resize effect Tested for ListManager, supposed ModManager because resize is blocked (reason unknown)
Ready for 0.6.0 here.
Update the code structure Target package structure : application → UI (ModManager, ListManager, ListCreator) mod → objects use for mod management (Mod, ModList, Languages) settings → mod list and app settings management (MyXML → maybe split in two objects AppSettingsXML and ModListXML for example) debug → test classes and errors (ErrorPrint, test classes with main(), Exceptions classes...) versioning → version checker (integration and adaptation of your very good improvements with update infos and logs :) )
Comment the code / javadoc because it become hard to remember which function do what, and it will make the code more clear for everyone
Update ListManager UI with TableView instead of ListView (like in ListCreator), in order to add options to sort/order mod lists.
Need to work also on UI resize (the problem with gap values in percents...)