Install Beyond Compare on mac and use it permanently

1. Download:
First download the latest version of Beyond Compare, the link is as follows:
https://www.scootersoftware.com/download.php

After downloading, unzip and open it directly. If you have used it before, you will see:

评估模式错误,输入密钥或购买提示

At this time, we delete registry.dat and try again for 30 days. The specific operation is as follows:

cd  Library/Application\ Support/Beyond\ Compare/
rm -rf registry.dat  

insert image description here
At this point, you can open the Beyond Compare program, and you can find the running directory below. If you want to use it permanently, do the following:

Create BCompare file

Note: Beyond Compare will check the registration information every time it is started, and it cannot be used after the trial period expires. The solution is to delete the registration information before starting, and then start again, so that you can have a permanent free trial.

  • 1. Enter the Mac application directory and find the newly installed Beyond Compare, the path is as follows /Applications/Beyond\ Compare.app/Contents/MacOS/.

  • 2. Modify the startup program file BCompare to BCompare.real.

  • 3. Create a new file BCompare in the current directory, the file content is as follows:

    #!/bin/bash
    # 删除注册信息
    rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat”
    # 启动真实的Bcompare文件
    "`dirname "$0"`"/BCompare.real $@
    

4. Save the BCompare file

5. Modify the permissions of the file:

chmod a+x /Applications/Beyond\ Compare.app/Contents/MacOS/BCompare

insert image description here
so that Beyond Compareit can be used forever

Guess you like

Origin blog.csdn.net/quanqxj/article/details/103349643