* Fixed update logo path
* Updated internals
This commit is contained in:
LoafyLemon 2023-07-27 20:09:13 +01:00
parent 083b8e4f3c
commit 5d7c09a8a8
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
init python:
import requests
UPDATE_URL = bytes.fromhex("687474703a2f2f757064617465732e73696c76657273747564696f67616d65732e6f72672f6173736574732f757064617465732e6a736f6e").decode()
UPDATE_URL = bytes.fromhex("687474703a2f2f757064617465732e73696c76657273747564696f67616d65732e6f7267").decode()
UPDATE_VER = None
UPDATE_HINT = ""
@ -192,7 +192,7 @@ init python:
return im.Data(data, path)
# Fetch file if doesn't exist
url = url.split("updates.json")[0] + "logo.webp"
url = os.path.join(url.split("updates.json")[0], "logo.webp")
try:
response = requests.get(url, timeout=5)