Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mendaparadarshit/6e23c51dadefc52b5af51f57409ab009 to your computer and use it in GitHub Desktop.
Save mendaparadarshit/6e23c51dadefc52b5af51f57409ab009 to your computer and use it in GitHub Desktop.
MAMP PRO 4 Trial Reset

MAMP PRO 4 Trial Reset

A simple script that resets latest MAMP PRO 4 trial validity, and keeps your data safe.

How to use

  • Copy the code into a file OR download the script and save it as reset_mamp4.sh
  • Open the Terminal app and write chmod +x then drag and drop the file on the Terminal. You should have something like chmod +x reset_mamp4.sh. Press Enter to run it.
  • Now, run the file itself by dragging and dropping it on the Terminal (something like reset_mamp4.sh) then pressing Enter.
  • Open MAMP PRO and check if you have 14 days left now.

Didn't work?

Try using superpowers and run it as root sudo reset_mamp4.sh.

Did it work?

Let me know, or improve it by yourself.

#!/bin/sh
# Reset MAMP PRO 4 Trial
# Let me know if it works
set +e
rm ~/Library/Preferences/de.appsolute.mamppro.plist
rm ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/de.appsolute.mamppro.sfl
rm -rf ~/Library/Caches/de.appsolute.mamppro
rm -rf ~/Library/Saved\ Application\ State/de.appsolute.mamppro.savedState
sudo killall de.appsolute.mampprohelper
sudo killall cfprefsd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment