Check for Updates

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
Posts: 16
Joined: December 8th, 2014, 11:11 pm

I'm curious how you guys have implemented a Check for Updates function in any of your scripts to check for the latest version of the script. I'm aware that there will have to be a web server configured on the other end to respond with what the current version of the script is, but I'm not sure how to work with it on the script side of things.

I've experimented with system.callSystem("curl ...") to download files from Dropbox to the computer on Mac, but that doesn't seem like a great way to do things since it a) can't check if it needs to be updated, b) only works on Mac, and c) doesn't give any feedback or progress bars as it's downloading. So I'm curious how you guys have done similar things in the past?
Post Reply