mirror of
https://github.com/Escartem/AnimeWwise.git
synced 2026-06-05 07:50:23 +08:00
fix update search
This commit is contained in:
2
app.py
2
app.py
@@ -98,7 +98,7 @@ class AnimeWwise(QMainWindow):
|
|||||||
latestVersionReq = get("https://raw.githubusercontent.com/Escartem/AnimeWwise/master/version.json")
|
latestVersionReq = get("https://raw.githubusercontent.com/Escartem/AnimeWwise/master/version.json")
|
||||||
|
|
||||||
if latestVersionReq.status_code == 200:
|
if latestVersionReq.status_code == 200:
|
||||||
latestVersion = json.loads(latestMaps.text)
|
latestVersion = json.loads(latestVersionReq.text)
|
||||||
|
|
||||||
if currentVersion["version"] < latestVersion["version"]:
|
if currentVersion["version"] < latestVersion["version"]:
|
||||||
print("Update found !")
|
print("Update found !")
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version": 21,
|
"version": 211,
|
||||||
"mapsVersion": 89
|
"mapsVersion": 89
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user