summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-02-06 10:22:25 -0300
committerJesusaves <cpntb1@ymail.com>2024-02-06 10:22:25 -0300
commitaacbac14e36d26badd1a7aa91abb7dfbeff2ffa6 (patch)
treea001c9f77c71cbd9f37950c5361cbc122b35a50b
parent3bf07578abef9931482dc145b3282e4deb0d9e17 (diff)
downloadtkinter-aacbac14e36d26badd1a7aa91abb7dfbeff2ffa6.tar.gz
tkinter-aacbac14e36d26badd1a7aa91abb7dfbeff2ffa6.tar.bz2
tkinter-aacbac14e36d26badd1a7aa91abb7dfbeff2ffa6.tar.xz
tkinter-aacbac14e36d26badd1a7aa91abb7dfbeff2ffa6.zip
Do not offer to download game clients if using system-wide versions
-rwxr-xr-x__main__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/__main__.py b/__main__.py
index 945b534..34cb54e 100755
--- a/__main__.py
+++ b/__main__.py
@@ -484,8 +484,9 @@ def settings():
c5 = tk.Checkbutton(root, text="Verbose logging", variable=prefLogs, bg="#0c3251", fg="#f70")
canva.create_window(200, 160, window=c5)
# "Download/Update GPL clients" button
- button = HoverButton(text="Download GPL clients", command=_downloadClient, bg="#cc6600", fg="#fff", activebackground="#ee9933", font="helvetica 12", height=-10)
- canva.create_window(200, 200, window=button)
+ if pref["local"]:
+ button = HoverButton(text="Download GPL clients", command=_downloadClient, bg="#cc6600", fg="#fff", activebackground="#ee9933", font="helvetica 12", height=-10)
+ canva.create_window(200, 200, window=button)
## Set or display your homeworld, but doesn't explain it
if mySoul["home"] in ["Not Set", "VAULT"]: