Mac下处理beyond compare 过期

Beyond Compare 试用30天过期以后的操作

下载地址:https://www.scootersoftware.com/download.php
安装以后

1.打开终端进入到安装目录
cd /Applications/Beyond\ Compare.app/Contents/MacOS/
2.修改启动程序文件BCompare 为BCompare.real
mv BCompare BCompare.real把可执行文件改名
3.在当前目录下新建一个文件BCompare
touch BCompare 
4.编辑BCompare脚本文件并保存退出
vim BCompare编辑脚本内容,内容如下:

#!/bin/bash
rm “/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat”
“dirname "$0"”/BCompare.real $@

5.修改BCompare脚本的权限:
chmod 7 /Applications/Beyond\ Compare.app/Contents/MacOS/BCompare
6.重新打开beyond compare 就可以使用了

你可能感兴趣的:(mac)