def main_cli():
    pass


def main_gui():
    from energyplus_transition.gui import VersionUpdaterWindow

    # we will keep the form in a loop to handle requested restarts (language change, etc.)
    running = True
    while running:
        main_window = VersionUpdaterWindow()
        main_window.mainloop()
        running = main_window.doing_restart


if __name__ == "__main__":
    main_gui()
