Files
SnootGame/game/update.rpy

11 lines
448 B
Plaintext

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)