Worked a little on the code, its absolutely broken. Going to ask for help

This commit is contained in:
2021-06-23 20:12:27 -05:00
parent 203077c184
commit 397de2b950
2 changed files with 17 additions and 7 deletions

10
game/update.rpy Normal file
View File

@ -0,0 +1,10 @@
init python:
def UpdateCheck():
renpy.notify("Updater Ran")
pendingVersion = updater.UpdateVersion("https://update.snootgame.xyz", simulate="Monster-Update-6")
if pendingVersion == None:
persistent.updateresult = "No New Version is Available"
#renpy.notify(persistent.updateresult)
else:
#renpy.notify(persistent.updateresult + "can be downloaded")
updater.update("https://update.snootgame.xyz/updates.json", force=True)