From d275e1cfecd166a9c4722a4d54b1575172681e0b Mon Sep 17 00:00:00 2001 From: "A.Y. Siu" Date: Wed, 20 Jan 2016 10:19:48 -0800 Subject: [PATCH] Adjust kext path for El Capitan --- Installer/Scripts/Uninstall_1.2.1.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Installer/Scripts/Uninstall_1.2.1.sh b/Installer/Scripts/Uninstall_1.2.1.sh index eaf4bcc..0815166 100755 --- a/Installer/Scripts/Uninstall_1.2.1.sh +++ b/Installer/Scripts/Uninstall_1.2.1.sh @@ -4,7 +4,7 @@ echo "Uninstalling 1.2.1 and previous" sudo true KEXT_ID=com.protech.nosleep -KEXT_PATH=/System/Library/Extensions/nosleep.kext +KEXT_PATH=/Library/Extensions/nosleep.kext PERF_PATH=/Library/PreferencePanes/nosleep-preferences.prefPane OLD_PERF_PATH=/System/Library/PreferencePanes/nosleep-preferences.prefPane AGENT_PATH=/Library/LaunchAgents/com.protech.nosleep.launch.plist @@ -51,4 +51,4 @@ sudo pkgutil --forget "com.protech.NoSleep.pkg" &> /dev/null sudo pkgutil --forget "com.protech.nosleep.postflight.pkg" &> /dev/null sudo pkgutil --forget "com.protech.nosleep.preflight.pkg" &> /dev/null -echo "Done" \ No newline at end of file +echo "Done"