-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f0c958
commit 8c1acf2
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) |