mirror of
https://github.com/azlux/botamusique
synced 2024-11-23 22:06:09 +00:00
Compare commits
10 Commits
e313d4ef0d
...
bd9f9bc432
Author | SHA1 | Date | |
---|---|---|---|
|
bd9f9bc432 | ||
|
9f83cec7bf | ||
|
898082714a | ||
|
524df97578 | ||
|
dd99f21d7b | ||
|
2a204988c3 | ||
|
88f04e5f6f | ||
|
85f9a80b1b | ||
|
08951e8d93 | ||
|
9aaa8ccf93 |
@ -195,12 +195,14 @@ class MumbleBot:
|
||||
th.start()
|
||||
|
||||
last_startup_version = var.db.get("bot", "version", fallback=None)
|
||||
if self.version != "git":
|
||||
try:
|
||||
if not last_startup_version or version.parse(last_startup_version) < version.parse(self.version):
|
||||
var.db.set("bot", "version", self.version)
|
||||
if var.config.getboolean("bot", "auto_check_update"):
|
||||
changelog = util.fetch_changelog()
|
||||
self.send_channel_msg(tr("update_successful", version=self.version, changelog=changelog))
|
||||
except version.InvalidVersion:
|
||||
var.db.set("bot", "version", self.version)
|
||||
|
||||
# Set the CTRL+C shortcut
|
||||
def ctrl_caught(self, signal, frame):
|
||||
|
981
web/package-lock.json
generated
981
web/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
"eslint-plugin-jsdoc": "^30.7.8",
|
||||
"html-webpack-plugin": "^4.5.0",
|
||||
"mini-css-extract-plugin": "^1.3.1",
|
||||
"postcss-loader": "^4.1.0",
|
||||
"postcss-loader": "^7.2.4",
|
||||
"regenerator-runtime": "^0.13.7",
|
||||
"sass": "^1.29.0",
|
||||
"sass-loader": "^10.1.0",
|
||||
|
Loading…
Reference in New Issue
Block a user