diff --git a/src/hook.pyw b/src/hook.pyw index 34bd8ec..102f249 100644 --- a/src/hook.pyw +++ b/src/hook.pyw @@ -86,5 +86,5 @@ try: except Exception as exp: # 未知错误 log.break_err("Exception \n"+str(traceback.format_exc(exp))) raise exp -print("This window will close after 3 seconds.") -time.sleep(3) +print("This window will close.") +sys.exit(0)