Skip to content

Instantly share code, notes, and snippets.

@njleonzhang
Last active February 26, 2024 06:21
Show Gist options
  • Star 22 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save njleonzhang/e5b68b9e9e31d7c09731945a336e0310 to your computer and use it in GitHub Desktop.
Save njleonzhang/e5b68b9e9e31d7c09731945a336e0310 to your computer and use it in GitHub Desktop.
Free Beyond Compare by unlimited trail

1 . goto beyond compare folder

 cd "/Applications/Beyond Compare.app/Contents/MacOS/"

2 . rename BCompare to BCompare.real

 mv BCompare BCompare.real

3 . new a file named BCompare

 touch BCompare

4 . write following code into BCompare

#! /bin/bash
if [ -f $HOME/Library/Application\ Support/Beyond\ Compare/registry.dat ]
then
    rm $HOME/Library/Application\ Support/Beyond\ Compare/registry.dat
fi
"/Applications/Beyond Compare.app/Contents/MacOS/BCompare.real" &

5 . make BCompare executable.

chmod +x BCompare

refer to: beyond-compare-4-for-mac-unlimited

@ichuck
Copy link

ichuck commented Jul 17, 2023

Thank you! =D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment