Convincing The Complete New Yorker’s autoupdate function to shut up

The Complete New Yorker is a nice enough app, even for one that has gone un-updated since 2008. The icon needs work, but the interface is fine for what it is.

The auto updater, on the other hand, should be dragged into the street and shot, and its corpse hung by the heels for public viewing. Why? Because it won’t shut up telling you there’s an update. If you run the update process, it says its updating, but never does. Worse, there’s no preference to tell it not to check.

Or rather, there’s no preference it respects. You can open com.TheNewYorker.TCNY.plist and set the DJVShowUpdateKey to NO (it’s the only key that references updates). Next time you open the app, though, same behavior. Running the autoupdate as root doesn’t help, either.

There is, thankfully, a fix. Show the app packages contents, open the Contents directory, and open Info.plist in your favorite PLIST editor. Locate the Bundle Version string, and set it to something higher than 61. I arbitrarily picked 70, and it worked. I don’t know what the lower bound of of the set of usable versions is, but since 70 works, let’s run with it.

Save the PLIST, quit the PLIST editor, and re-run The Complete New Yorker. It will still check in with the update server, but will quit gracefully after reporting that your app is up to date. Since The New Yorker regards  this as dead product, this hack should work indefinitely.

Also, if you dig copyright violation for purposes of not having to swap the blood discs every time, there’s a fix to allow you to copy the DVD contents of the collection to your hard drive.

Advertisements

Installing a command line C compiler for Mac OS X 10.7 (Lion)

Setting up lab images for this semester, I needed to compile source code for the expat XML tool, and discovered to my annoyance that Lion doesn’t include a C compiler. A quick Google suggested installing Xcode from the Mac App Store. Did this, and still no joy.

Turns out that as of Xcode 4.3.2, command line compilers are no longer installed by default. To fix this:

  1. Download and run the Xcode app from the MAS.
  2. Open Xcode’s prefs, and click Downloads.
  3. Find the Command Line Tools entry and click Install (it’s 180MB at this time, and you’ll be required to authenticate).
  4. When it’s finished, switch to Terminal and issue the command gcc -v. If you get anything other than “-bash: gcc: command not found”, win!