Thursday, November 11, 2010

Software Updates

A NewStars update!

Surprise, surprise, the first executable didn't work (at all). The second executable mostly worked, the third executable should work (haven't heard any complaints!)

Each executable is about 3 MB, which takes several minutes to upload (no FIOS for me right now).

But, there is a way to update a Starkit piecemeal! Just make a list of files to check for updates, then foreach s in that list:

if {[file exists $s]} {
file rename -force $s [file join $starkit::topdir $s]
}

So, I can update one file and just drop it in the runtime directory, and it will slurp it into the archive.

Of course, Windows becomes extremely angry if you try and update an exe while it is running!

This is going to require me to drop from a Starpack back to a Starkit and ship Tclkit. I'll also need a batch file to couple everything together.

Irritating, but worth it to reduce update sizes.

No comments: