OpenSprinkler Forums OpenSprinkler Mobile and Web App Mobile Web App with Screenshots (Updated) Re: Re: Mobile Web App for OpenSprinkler (w/Screenshots)

#23995

Samer
Keymaster

I am debating adding an updater to the watcher.php script so that updates from Github are automatically pulled. Is this something people would be interested in? I know some people might find this weird so curious as to how people would want this implemented, if at all. I think by adding a setting during install and in the configuration (ex. $auto_update = 1) then checking against it during watcher.php runs, as such:

if ($auto_update) `git pull`;

Of course, this requires your using git instead of downloading the zip/tar and extracting manually but it should serve it’s purpose just fine, I think.

Let me know what you guys think.

Edit: Also, shell exec would have to be allowed for this to work.