Minor release.
Fixed the following bugs:
- After using Thor GUI on different devices, I've realized that I need to just specify a padding for text in windows, instead of specifing the exact size in pixels. Currently you may notice that the bottom part of certain message windows gets cut-off, and the text in the About Tab may be slightly too low.
Changes:
- Thor GUI now supports translations for other languages! All of the strings (aka text) used in Thor GUI are now stored in the JSON file "en.json" in the "locales" directory. So currently there's only support for English, but anyone who wants to can translate Thor GUI into their own language.
- The ToplevelWindow class has been improved, and is used in more places now. Hopefully v0.4.7 will use it exclusively.
- There is now a setting to use tk file dialogs, because there is a new alternative: zenipy. This adds a new prerequisite, zenipy.
pip install zenipy
. If "Use tk file dialogs" is unchecked, zenity file dialogs will be used. There are pros and cons to both; the tk file dialogs have a weird side-scrolling interface, but allow opening to a default directory and specifying a certain file-type; and the zenity file-dialogs look more native, but are missing some features. Other options for file dialogs may be added in the near future, as well. (BTW, on the latest Raspberry Pi OS, my hack for getting the dark theme tk file dialogs working suddenly stopped working after an update) - Also, this release will not contain a "TheAirBlow.Thor.Shell" file. You can still find my self-contained builds of Thor here, or download the latest Thor release from GitHub.
I also realized that my code for flashing Odin archives was very buggy. Not like the actual flashing part, but the partition selection implementation was just unusable. Due to this, I've decided to remove "Flashing Odin archives" from the list of Implemented Thor features. It was disappointing, but I've learned a lot since I wrote that code, and plan to re-write it in the next release.
Full Changelog: https://github.com/ethical-haquer/Thor_GUI/compare/v0.4.5.1-alpha...v0.4.6-alpha