Re: Auto Update for WEE?

new topic     » goto parent     » topic index » view thread      » older message » newer message

I think this can be done, after I put the code on github. I think I can use std/net/http.e http_get() to download a file manifest containing the version number, file names and checksums. If the version number changes, then download files that have a different checksum.

I'm torn on whether to check for updates during startup. On startup, if the user has to wait for the http_get() due to a slow DNS resolve or slow connection, that's a little annoying. Maybe I could do the http_get in a separate task, but it's not clear if that will allow the main task to interact with the user. The wee.conf could also store the date of the last check, and only check for updates once per day. I would provide a menu option to check for updates.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu