PlaneShift

Support => Mac OSX Specific Issues => Topic started by: Cha0s on July 26, 2006, 07:11:46 pm

Title: Updater.jar (and Updater-old.jar) update
Post by: Cha0s on July 26, 2006, 07:11:46 pm
Updater.jar and Updater-old.jar have been updated! There is now a dialog asking whether or not users would like to update files that I have placed on the omitted files list. These files contain both settings information (such as window positioning) and application information (such as which plugins to load, etc). The list now includes:
planeshift.cfg
psclient.cfg
pssetup.cfg
psupdater.cfg
vfs.cfg (note: not a settings file, but retained here due to previous issues with this file)

Previously, unless "Update all" was checked, these files would be omitted. However, a bug prevented them from being omitted and resulted in users having to redo their settings after every update. This bug has been corrected and, in addition, a dialog box has been added so that the user may select whether to update or omit the files on a file-by-file basis (it only asks about the ones on that list, not every file). The user may also select to omit or update all of the files (from the dialog, via an "Apply to all" check box). This means that the user will need to wait for the first dialog to appear before leaving the application to update (i.e. you can't just push "Start Update" and go to bed). This should not take too long, since the only things downloaded before the dialog comes up are version.dat (negligible size) and possibly the repository. For those with broadband connections, you should only have to wait a minute or so for the repository to download (probably less, but I'm being conservative). Dialup-users: you may have a good 10-minute wait before that dialog comes up if the repository needs to be downloaded. I'm sorry for any inconvenience this might cause.

I made this change to give users better control over which files are updated. For instance, an update may require a change to vfs.cfg for Planeshift to work, but not to planeshift.cfg. Under the new system, users can retain planeshift.cfg and update vfs.cfg without having to worry about moving around files outside of the updater.  For those that have even a remotely recent version of Updater.jar or Updater-old.jar, just run the app and it'll update itself. I hope the new system is helpful to everyone!