From 8c1acf226f8417f8bdb3ee8bbecbcf9c9d40546e Mon Sep 17 00:00:00 2001 From: Sharll <106537475+Sharll-large@users.noreply.github.com> Date: Sat, 14 Jan 2023 09:27:39 +0800 Subject: [PATCH] Add files via upload --- __main__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/__main__.py b/__main__.py index 3e9a965..ba26688 100644 --- a/__main__.py +++ b/__main__.py @@ -1,13 +1,16 @@ # FMCL Boot Entry. import sys +import tkinter.messagebox import FMCLCore.System.CoreConfigIO import FMCLView.main -import tkinter.messagebox +import FMCLView.Const + if __name__ == "__main__": try: sys.stdout = open("FMCL.log", "w+") sys.stderr = open("FMCL.log", "w+") FMCLCore.System.CoreConfigIO.fixdepend() + FMCLView.Const.lang = FMCLCore.System.CoreConfigIO.read()["Language"] FMCLView.main.main() except Exception as e: tkinter.messagebox.showerror("FMCL Exception", repr(e))