mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-22 19:29:18 +01:00
Update MTGUpdateCheck.py
This commit is contained in:
parent
584eb9eccc
commit
b6728ac247
@ -15,7 +15,7 @@ with open('gapps.appversion', 'w') as file:
|
|||||||
if not new_version_found:
|
if not new_version_found:
|
||||||
latestver = ""
|
latestver = ""
|
||||||
mtgmsg = ""
|
mtgmsg = ""
|
||||||
latestver = json.loads(requests.get(f"https://api.github.com/repos/MustardChef/MindTheGappsForWSABuilds/releases/latest").content)['name'].replace('\n', '')
|
latestver = json.loads(requests.get(f"https://api.github.com/repos/MustardChef/MindTheGappsArchived/releases/latest").content)['name'].replace('\n', '')
|
||||||
mtgmsg="Update MindTheGapps Version from `v" + currentver + "` to `v" + latestver + "`"
|
mtgmsg="Update MindTheGapps Version from `v" + currentver + "` to `v" + latestver + "`"
|
||||||
if currentver != latestver:
|
if currentver != latestver:
|
||||||
print("New version found: " + latestver)
|
print("New version found: " + latestver)
|
||||||
|
Loading…
Reference in New Issue
Block a user