How to change Komodo auto updating

Posted by toddw on 2009-03-27 09:47
OS: All / Any | Product: Komodo | tags: nightly beta auto update
Question: 

How do I change Komodo to use a different build, such as a nightly build?

Answer: 

The simplest way to change Komodo builds is through the Komodo auto-update facility, where you can update between the latest "release", "beta" and "nightly" versions of Komodo. To do this, you'll need to locate the channel-prefs.js file in your Komodo installation, on Windows and Linux this file is here:

INSTALLDIR/lib/mozilla/defaults/pref/channel-prefs.js

and on Mac OS X here:

INSTALLDIR/Contents/MacOS/defaults/pref/channel-prefs.js

It is a very simple file that looks like this:

// Valid values are "release", "beta" and "nightly".
pref("app.update.channel", "release");

Change the value to whatever you wish to use (i.e. "nightly"), restart Komodo and then use Komodo's Check for Updates menu to update to the required build.

Note: You can change back your auto-update channel at anytime, but there is no un-update functionality, example:

  • You start at Komodo release 5.1.0 (build 27487)
  • Change to "nightly" channel, restart and auto-update to nightly 5.1.1 (build 27621)
  • Change to "release" channel, restart. Your still at build 27621, the auto-update will only trigger again when the next release build of Komodo is made (i.e. 5.1.1 final)

More information on the Komodo auto-update system is available in Trent's blog:
http://trentm.com/blog/archives/2008/03/03/komodo-aus/

cheesegrits | Mon, 2009-03-30 19:15

I'm about to try out the nightly.

Even though it won't auto down-grade if I go back to 'release', would re-installing the 5.1 installer take me back, or would that be likely to just screw things up?

-- hugh

toddw
ActiveState Staff
Mon, 2009-03-30 21:21

Yes, you can always re-install or even uninstall/install again to get back to the original release.

Cheers,
Todd