Beyond Compare 4 for Mac 无限试用

转自https://www.puteulanus.com/archives/677,略有修改,修复了Source Tree等软件的兼容问题。

终端命令:

1
2
$ cd /Applications/Beyond\ Compare.app/Contents/MacOS/
$ mv BCompare BCompare.real

新建BCompare文件,内容:

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

保存之后执行:

1
$ chmod +x BCompare

完。