mirror of
https://github.com/azlux/botamusique
synced 2024-11-23 22:06:09 +00:00
Compare commits
No commits in common. "bd9f9bc432c517d3e191a377e473574f665fa9de" and "e313d4ef0d606ccfef5a912eb1377824236f2210" have entirely different histories.
bd9f9bc432
...
e313d4ef0d
@ -195,14 +195,12 @@ class MumbleBot:
|
|||||||
th.start()
|
th.start()
|
||||||
|
|
||||||
last_startup_version = var.db.get("bot", "version", fallback=None)
|
last_startup_version = var.db.get("bot", "version", fallback=None)
|
||||||
try:
|
if self.version != "git":
|
||||||
if not last_startup_version or version.parse(last_startup_version) < version.parse(self.version):
|
if not last_startup_version or version.parse(last_startup_version) < version.parse(self.version):
|
||||||
var.db.set("bot", "version", self.version)
|
var.db.set("bot", "version", self.version)
|
||||||
if var.config.getboolean("bot", "auto_check_update"):
|
if var.config.getboolean("bot", "auto_check_update"):
|
||||||
changelog = util.fetch_changelog()
|
changelog = util.fetch_changelog()
|
||||||
self.send_channel_msg(tr("update_successful", version=self.version, changelog=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
|
# Set the CTRL+C shortcut
|
||||||
def ctrl_caught(self, signal, frame):
|
def ctrl_caught(self, signal, frame):
|
||||||
|
975
web/package-lock.json
generated
975
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",
|
"eslint-plugin-jsdoc": "^30.7.8",
|
||||||
"html-webpack-plugin": "^4.5.0",
|
"html-webpack-plugin": "^4.5.0",
|
||||||
"mini-css-extract-plugin": "^1.3.1",
|
"mini-css-extract-plugin": "^1.3.1",
|
||||||
"postcss-loader": "^7.2.4",
|
"postcss-loader": "^4.1.0",
|
||||||
"regenerator-runtime": "^0.13.7",
|
"regenerator-runtime": "^0.13.7",
|
||||||
"sass": "^1.29.0",
|
"sass": "^1.29.0",
|
||||||
"sass-loader": "^10.1.0",
|
"sass-loader": "^10.1.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user