Web Updater - Automatic check for updates

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
xavimat
Eileen-Class Veteran
Posts: 1461
Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love
Organization: Pilgrim Creations
Github: xavi-mat
itch: pilgrimcreations
Location: Spain
Discord: xavimat
Contact:

Web Updater - Automatic check for updates

#1 Post 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.
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)

User avatar
H3artbr0ken
Newbie
Posts: 13
Joined: Sun Aug 04, 2013 4:03 pm
Completed: Double the Fun (MLP)
Projects: Bliss Stage, Always Darkest After Dawn
Organization: Ruined Childhood Studios
IRC Nick: h3artbr0ken
Location: Tartarus
Contact:

Re: Web Updater - Automatic check for updates

#2 Post by H3artbr0ken »

I didn't even know this existed. :?:
Image
This is my current pet project! Yay! Click it to go to the Ren'Py topic.

User avatar
xavimat
Eileen-Class Veteran
Posts: 1461
Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love
Organization: Pilgrim Creations
Github: xavi-mat
itch: pilgrimcreations
Location: Spain
Discord: xavimat
Contact:

Re: Web Updater - Automatic check for updates

#3 Post 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.
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], decocloud, Google [Bot]