From abcf0ffd3b6e440b82523c80a9c014b5dc591032 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 6 Feb 2024 16:28:01 -0300 Subject: Make login button clearer --- __main__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/__main__.py b/__main__.py index 75daf70..38a4d82 100755 --- a/__main__.py +++ b/__main__.py @@ -383,6 +383,9 @@ def do_real_launch(idx, PWD): app=execute(san("%s %s%s" % (CMD, OPT, PWD)), shell=True) # nosec else: app=execute(san("%s %s%s" % (CMD, OPT, PWD)), shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) # nosec + ## TODO: If the program doesn't launch e.g. missing client, show an error D: + #err = traceback.format_exc().split("\n")[-2] + #showerror(title="Mana Launcher", message="Sorry, we were unable to launch this world.\n%s" % err) return app @@ -525,6 +528,7 @@ def settings(): # TODO: Account Linking and Unlinking # For that, use a dropdown menu (select world), login, password, ... # Then a button "LINK" and "UNLINK". Encapsulate the form in a box + # TODO: Change password or 2FA settings # TODO Then we can put some permanent multi-world bosses on CR? (Giving EXP) ## Save all your settings and return to World Selection screen @@ -752,7 +756,7 @@ label4.config(font=('helvetica', 10)) canva.create_window(200, 280, window=label4) -button1 = HoverButton(text='Login', command=login, bg="#cc6600", fg="#fff", activebackground="#ee9933") +button1 = HoverButton(text='Login/Register', command=login, bg="#cc6600", fg="#fff", activebackground="#ee9933") canva.create_window(200, 320, window=button1) root.mainloop() -- cgit v1.2.3-60-g2f50