OIV Lion Patch
18 Nov 2011 Charles Choi
So about a week ago a dear friend of mine just got a new Mac running Lion, but couldn't get the Artstor Offline Image Viewer app (OIV) to work. Upon inspection I saw that it was a Java app which in principle means it should run on any system that supports Java. However, OIV as its currently shipped was packaged to look like a native app, in this case for the old PowerPC CPU systems. Now that Macs run on Intel CPUs, that wrapper is obsolete. Based on some research on how Java apps are wrapped on Macs, I figured out a workaround which replaces the old PowerPC wrapper with one that supports Intel CPUs. And now since I've gotten some feedback on this, I've written a Python script that can make the change for you from the command line.
Instructions:
- Install OIV as normal into the /Applications folder.
- Download the file fix_oiv_0_1.zip. Make sure to click on the button "Download Original" to get the file to appear in your downloads folder.
- From Finder double click on fix_oiv_0_1.zip to unzip the file. You should see the folder fix_oiv_0_1
- Launch Terminal and change directory to the folder fix_oiv_0_1
- Run the command:
python fix_oiv.py - (optional) If the previous step didn't work, try:
sudo python fix_oiv.py
Good luck!