From 74a4c835c6056ac3ec964a9c4395f2381961da2f Mon Sep 17 00:00:00 2001 From: Alex Beals Date: Fri, 5 Jul 2024 09:16:42 -0700 Subject: [PATCH] Add in purge.sh script and reference in a 'problems' section --- README.md | 5 +++++ purge.sh | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 purge.sh diff --git a/README.md b/README.md index 93c3d63..98584ba 100755 --- a/README.md +++ b/README.md @@ -93,6 +93,11 @@ sudo rm /Library/PrivilegedHelperTools/com.macenhance.MacForge.Injector sudo rm -rf ~/Library/Containers/com.alexbeals.spacesrenamer ``` +### Debugging Common Issues + +**MacForge is automatically downgrading** +If you are running into issues where MacForge is downgrading, try uninstall MacForge by deleting the app and emptying Trash, running the `surge.sh` file, restarting your computer, and then installing MacForge again. Make sure when you install you disable automatic upgrading and checks. + --- Donations [are always appreciated](https://www.paypal.com/paypalme2/AlexBeals), but in no way expected. diff --git a/purge.sh b/purge.sh new file mode 100644 index 0000000..1297d81 --- /dev/null +++ b/purge.sh @@ -0,0 +1,16 @@ +launchctl unload /Library/LaunchDaemons/com.macenhance.MacForge.Injector.plist +rm -rf "/Library/Application Support/MacEnhance" +rm -rf /Library/LaunchDaemons/com.macenhance.MacForge.Injector.plist +rm -rf /Library/PrivilegedHelperTools/com.macenhance.MacForge.Injector + +rm -rf "$HOME/Library/Application Support/com.macenhance.MacForge" +rm -rf "$HOME/Library/Application Support/MacEnhance" +rm -rf "$HOME/Library/Caches/com.macenhance.MacForge" +rm -rf "$HOME/Library/Caches/com.macenhance.MacForgeHelper" +rm -rf "$HOME/Library/HTTPStorages/com.macenhance.MacForge" +rm -rf "$HOME/Library/HTTPStorages/com.macenhance.MacForge.binarycookies" +rm -rf "$HOME/Library/HTTPStorages/com.macenhance.MacForgeHelper" +rm -rf "$HOME/Library/Preferences/com.macenhance.MacForge.plist" +rm -rf "$HOME/Library/Preferences/com.macenhance.MacForgeHelper.plist" +rm -rf "$HOME/Library/Saved Application State/com.macenhance.MacForge.savedState" +rm -rf "$HOME/Library/WebKit/com.macenhance.MacForge" \ No newline at end of file