Nice little script to list your PPC only apps. This is from “dhaveconfig” at Ars Technica. (Note I modified his script a little for my script below)
Why would you want to do this? Well it would be nice to be Intel only once you start running Snow Leopard. I found a variety of old games that were PPC only. The big PPC stuff I worry about is eFax Messenger, Print Shop (for my wife) and my Epson scan software.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/usr/bin/env python import plistlib import subprocess ppc_apps = [] command = ["system_profiler", "-xml", "SPApplicationsDataType"] task = subprocess.Popen(command, stdout=subprocess.PIPE) (stdout, unused_stderr) = task.communicate() apps = plistlib.readPlistFromString(stdout)[0]["_items"] for app in apps: if "runtime_environment" in app: # change to "classic" to list Sys9 apps if app["runtime_environment"] == "arch_ppc": ppc_apps.append(app["path"]) print "\n".join(ppc_apps) |
You may get a warning on standard err about old plist parsers. Just ignore that. (I’m too lazy to see which application has a bad plist)
Related posts:
.jpg)
Recent Comments