2013-03-30, 21:47
(2013-03-30, 18:24)uNiversal Wrote: @millhouse
If this addon is updating improving you can consider adding a version check/pull/ask/display changelog via script too when script is first run.
uNi
Done.
v0.3.4 is up.
Script will now perform an automatic version check (against Github) with every execution, informing the user when it is out of date. Disable version check by adding "checkupdate = no" to properties. Users can "force" a version check with the "version" option, and update to the latest version by running the "update" option - this will download the new script from Github and replace the current script file.
The update process will use an md5 hash to validate against corrupt downloads, unfortunately that's just increased the workload and there's a good chance I'll forget to update the hash...
I'll leave displaying the changelog for now, if the user is interested (most aren't) it's on Github. Besides, I've changed it to use markdown now and it's not so easy to read on a plain console! I'll show the URL for the Changelog as part of the "version" option.
Next step is to add some times to the stats...