Skip to content

Commit

Permalink
changed version number and "modified by"
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakurax64 committed Apr 7, 2022
1 parent ff94211 commit a7b7510
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions load.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from ttkHyperlinkLabel import HyperlinkLabel

this = sys.modules[__name__] # For holding module globals
this.VersionNo = "1.8.0"
this.VersionNo = "1.8.1"
this.FactionNames = []
this.TodayData = {}
this.YesterdayData = {}
Expand Down Expand Up @@ -117,7 +117,7 @@ def plugin_prefs(parent, cmdr, is_beta):
# Make the second column fill available space
frame.columnconfigure(1, weight=1)

HyperlinkLabel(frame, text="BGS Tally (modified by Aussi) v" + this.VersionNo, background=nb.Label().cget("background"), url="https://github.com/aussig/BGS-Tally/wiki", underline=True).grid(columnspan=2, padx=10, sticky=tk.W)
HyperlinkLabel(frame, text="BGS Tally (modified by Sakura San) v" + this.VersionNo, background=nb.Label().cget("background"), url="https://github.com/Sakurax64/BGS-Tally", underline=True).grid(columnspan=2, padx=10, sticky=tk.W)
ttk.Separator(frame, orient=tk.HORIZONTAL).grid(columnspan=2, padx=10, pady=2, sticky=tk.EW)
nb.Checkbutton(frame, text="BGS Tally Active", variable=this.Status, onvalue="Active", offvalue="Paused").grid(column=1, padx=10, sticky=tk.W)
nb.Checkbutton(frame, text="Show Systems with Zero Activity", variable=this.ShowZeroActivitySystems, onvalue=CheckStates.STATE_ON, offvalue=CheckStates.STATE_OFF).grid(column=1, padx=10, sticky=tk.W)
Expand Down Expand Up @@ -193,7 +193,7 @@ def plugin_app(parent):
Create a frame for the EDMC main window
"""
this.frame = tk.Frame(parent)
Title = tk.Label(this.frame, text="BGS Tally (modified by Aussi) v" + this.VersionNo)
Title = tk.Label(this.frame, text="BGS Tally (modified by Sakura San) v" + this.VersionNo)
Title.grid(row=0, column=0, sticky=tk.W)
if version_tuple(this.GitVersion) > version_tuple(this.VersionNo):
HyperlinkLabel(this.frame, text="New version available", background=nb.Label().cget("background"), url="https://github.com/aussig/BGS-Tally/releases/latest", underline=True).grid(row=0, column=1, sticky=tk.W)
Expand Down Expand Up @@ -972,7 +972,8 @@ def is_webhook_valid():
"""
Do a basic check on the user specified Discord webhook
"""
return this.DiscordWebhook.get().startswith('https://discordapp.com/api/webhooks/') or this.DiscordWebhook.get().startswith('https://discord.com/api/webhooks/') or this.DiscordWebhook.get().startswith('https://ptb.discord.com/api/webhooks/') or this.DiscordWebhook.get().startswith('https://canary.discord.com/api/webhooks/')
return this.DiscordWebhook.get().startswith('https://discordapp.com/api/webhooks/') or this.DiscordWebhook.get().startswith('https://discord.com/api/webhooks/') or this.DiscordWebhook.get().startswith('https://ptb.discord.com/api/webhooks/') or this.DiscordWebhook.get().startswith('https://canary.discord.com/api/webhooks/')



def tick_format(ticktime):
Expand Down Expand Up @@ -1064,4 +1065,4 @@ def _rc_menu_install(w):
w.menu.entryconfigure("Cut", command=lambda: w.focus_force() or w.event_generate("<<Cut>>"))
w.menu.entryconfigure("Copy", command=lambda: w.focus_force() or w.event_generate("<<Copy>>"))
w.menu.entryconfigure("Paste", command=lambda: w.focus_force() or w.event_generate("<<Paste>>"))
w.menu.entryconfigure("Select all", command=w.event_select_all)
w.menu.entryconfigure("Select all", command=w.event_select_all)

0 comments on commit a7b7510

Please sign in to comment.