forked from SilverStudioGames/WTS
Bug fix
* Fixed update logo path * Updated internals
This commit is contained in:
parent
083b8e4f3c
commit
5d7c09a8a8
@ -1,7 +1,7 @@
|
|||||||
init python:
|
init python:
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
UPDATE_URL = bytes.fromhex("687474703a2f2f757064617465732e73696c76657273747564696f67616d65732e6f72672f6173736574732f757064617465732e6a736f6e").decode()
|
UPDATE_URL = bytes.fromhex("687474703a2f2f757064617465732e73696c76657273747564696f67616d65732e6f7267").decode()
|
||||||
UPDATE_VER = None
|
UPDATE_VER = None
|
||||||
UPDATE_HINT = ""
|
UPDATE_HINT = ""
|
||||||
|
|
||||||
@ -192,7 +192,7 @@ init python:
|
|||||||
return im.Data(data, path)
|
return im.Data(data, path)
|
||||||
|
|
||||||
# Fetch file if doesn't exist
|
# 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:
|
try:
|
||||||
response = requests.get(url, timeout=5)
|
response = requests.get(url, timeout=5)
|
||||||
|
Loading…
Reference in New Issue
Block a user