16 lines
454 B
Python
16 lines
454 B
Python
import wx
|
|
from amulet_map_editor import AmuletUI
|
|
from amulet_map_editor import log
|
|
import traceback
|
|
|
|
if __name__ == "__main__":
|
|
try:
|
|
app = wx.App()
|
|
frame = AmuletUI(None)
|
|
app.MainLoop()
|
|
except Exception as e:
|
|
log.critical(
|
|
f"Amulet Crashed. Sorry about that. Please report it to a developer if you think this is an issue. \n{traceback.format_exc()}"
|
|
)
|
|
input("Press ENTER to continue.")
|