

The uninstall script won't run in recovery mode (you can however perform equivalent steps manually in the Recovery Partition Terminal utility). If != if the new args is empty, delete the boot-args entry.Ĭlick to expand.No. My = grep skip nvram if nothing has changed # remove "boot-args" at the remove "nvda_drv" and "nvda_drv=*" My = split(/\s/, `nvram boot-args 2> /dev/null`) System("/bin/mv -f '$path' $ToBeDeleted/.") My = qw(nvmenu nvprefpane nvagent nvroothelper) StageToDelete("/Library/PreferencePanes/NVIDIA Driver Manager.prefPane")

My $helperPlist = "/Library/LaunchDaemons/" My $agentPlist = "/Library/LaunchAgents/" My = `/bin/ls -1 /System/Library/Extensions | egrep '^NVDA.*Web.kext\$|^GeForce.*Web.*\$'` įoreach my $le my $sle removePrefPaneLaunchdPlists() My = `/bin/ls -1 /Library/Extensions | egrep '^NVDA.*Web.kext\$|^GeForce.*Web.*\$'` StageToDelete("/usr/bin/NVIDIARecovery") StageToDelete("/Library/Application Support/NVIDIA/NVIDIA Driver Restore.mpkg") My = `ls $prefsPath/.* $prefsPath/.* 2> /dev/null` įoreach my $pref removeLegacyWebReleaseFiles() My $prefsPath = "/Users/$user/Library/Preferences/ByHost" Print "Removing legacy web release files\n" įoreach my $user for some reason, `ls` includes entries that start RemoveWebDriverComponents() # now /Library/Extensions too Print "Removing pref pane launchd plists\n" # Create a directory in /tmp to move items for deletion to My $osBuild = `defaults read /System/Library/CoreServices/ist ProductBuildVersion` My $appSupportPath = "/Library/Application Support/NVIDIA" Print "Error: invalid target \"$ARGV\"\n" # We only support uninstalling the Web Driver on the boot volume "/" r-xr-xr-x 1 dwhitla admin 3932 7 Sep 03:08 Scripts/postinstall tmp/foo /Library/PreferencePanes/NVIDIA Driver Manager.prefPane/Contents/MacOS/NVIDIA Web Driver llĭrwxr-xr-x 3 dwhitla admin 96 5 Oct 17:10 cat llĭrwxr-xr-x 3 dwhitla admin 96 5 Oct 17:10 ll Scripts rw-r-r- 1 root wheel 475 5 Oct 17:10 PackageInfoĭrwxr-xr-x 3 dwhitla admin 96 5 Oct 17:10 Driver Manager.prefPane/Contents/MacOS/NVIDIA Web Driver Uninstaller.app/Contents# pushd /tmp/foo Snow Leopard Laptop Driver Manager.prefPane/Contents/MacOS/NVIDIA Web Driver Uninstaller.app/Contents# pkgutil -expand Resources/NVUninstall.pkg Driver Manager.prefPane/Contents/MacOS/NVIDIA Web Driver Uninstaller.app/Contents# ll /tmp/foo/ Building a CustoMac Hackintosh: Buyer's Guide
