Open Sora-yx opened 6 months ago
Adding on to this with some things that I'm intending on tackling for this overhaul.
[ ] Static Class Managers
[ ] Base GameSettings class
[ ] Add in some helper classes to reduce redundant code
[ ] General UI Clean up and minor enhancements
[ ] Issue Cleanup
Will try to keep up with this comment while completing mentioned tasks.
The Manager handles a lot of stuff on startup due to all the features we added such as: first boot, vanilla transition, profile creation and migration, last game swap, etc. The more we added features, the more messy the code started to get, we had to face race condition, loader that doesn't install properly, the ComboBox game swap that doesn't add a new game when picking the game location manually etc.
All those issues happen on some arbitrary conditions which make debugging annoying and require many efforts. They got fixed (sort of) with arbitrary check, but those aren't ideal and the code is still messy. The branch Overhaul will be used to rework how the Manager handle all those situation with a rework of many features such as Game Swap, Manager and Game Profiles, ideally the code should be more flexible and handle all situation without any arbitrary check.