Page 1 of 1

Web Updater - Automatic check for updates

Posted: Thu Aug 08, 2013 7:42 pm
by xavimat
I've been testing the Web Updater feature in renpy, (http://www.renpy.org/doc/html/updater.html), it's really interesting.

I'd like to check automatically for updates and, if there is an update, offer an "Update" button to the user (eg. in the Main Menu screen, or in Preferences). Is it possible?

I've seen the function "updater.can_update", but it doesn't take the url to the json file.

Re: Web Updater - Automatic check for updates

Posted: Fri Aug 09, 2013 9:01 am
by H3artbr0ken
I didn't even know this existed. :?:

Re: Web Updater - Automatic check for updates

Posted: Fri Aug 09, 2013 2:45 pm
by xavimat
I haven't seen anybody who uses that. But it works Ok in my tests (with some help of PyTom)
The built-in action shows the screen with the update process. But I'd like to check for the update behind the scene (AFAIK only the json file is needed ) and the offer the update option to the user.