summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-02-06 16:28:01 -0300
committerJesusaves <cpntb1@ymail.com>2024-02-06 16:28:01 -0300
commitabcf0ffd3b6e440b82523c80a9c014b5dc591032 (patch)
tree18c2abcc93bc54a8f2126720e2784c0fb88613fc
parentd28319dc3521cfce11119bd691ee817fa344ea6f (diff)
downloadtkinter-abcf0ffd3b6e440b82523c80a9c014b5dc591032.tar.gz
tkinter-abcf0ffd3b6e440b82523c80a9c014b5dc591032.tar.bz2
tkinter-abcf0ffd3b6e440b82523c80a9c014b5dc591032.tar.xz
tkinter-abcf0ffd3b6e440b82523c80a9c014b5dc591032.zip
Make login button clearer
-rwxr-xr-x__main__.py6
1 files changed, 5 insertions, 1 deletions
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()