note that this pr also changed behavior of restarting the tool, it's no longer a hot reload, but now it spawns a child process and wait for it, while hiding and destroying the old tool window.
this is needed because currently the Tool object is created at top level, and i didn't have too much luck moving it to somewhere else, or recreating this object from scratch on restart, so this hacky solution is used for now... (since now its no longer relevant, i can separate it into a new PR if u want
this pr includes a small clean up, a fix for japanese ui font size issue on Windows (i accidentally introduced this bug in the previous pr #51 ) and make sv_ttk use system default UI font for all languages (it was hardcoded to use Segoe UI before, see https://github.com/ColdWindScholar/MIO-KITCHEN-SOURCE/issues/8#issuecomment-2153731017
note that this pr also changed behavior of restarting the tool, it's no longer a hot reload, but now it spawns a child process and wait for it, while hiding and destroying the old tool window.
this is needed because currently the(since now its no longer relevant, i can separate it into a new PR if u wantTool
object is created at top level, and i didn't have too much luck moving it to somewhere else, or recreating this object from scratch on restart, so this hacky solution is used for now...