Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharll-large authored Jan 14, 2023
1 parent 2f0c958 commit 8c1acf2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion __main__.py
Original file line number Diff line number Diff line change
@@ -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))

0 comments on commit 8c1acf2

Please sign in to comment.