diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-02-06 10:22:25 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-02-06 10:22:25 -0300 |
commit | aacbac14e36d26badd1a7aa91abb7dfbeff2ffa6 (patch) | |
tree | a001c9f77c71cbd9f37950c5361cbc122b35a50b | |
parent | 3bf07578abef9931482dc145b3282e4deb0d9e17 (diff) | |
download | tkinter-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__.py | 5 |
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"]: |