mac下解决gitk模糊完整教程
·
mac下解决gitk模糊完整教程
该博文来自于ieayoio的博客:http://www.ieayoio.com/
gitk模糊这个问题比较冷门可能大多数人不太喜欢用gitk,我平时比较喜欢,终端里随时敲击gitk命令就可以查看git的提交记录,但是mac下gitk模糊也是真的让人有点难受了,之前看这个教程失败一次没再搞,这个又想做成功了,记录下来。
关闭rootless
新版本的mac开启了rootless功能,即使root用户也无法修改系统文件,我们需要关闭这个功能。
* 重启按住command+R不动出现进度条,但是没有进入常规的开机流程
* 选择语言后,在顶部的菜单栏上找到实用工具–>终端
* 执行 csrutil disable 终端英文提示成功需要重启
* 重启后csrutil status可以看到已经关闭了
➜ ~ csrutil status
System Integrity Protection status: disabled.
拓展:csrutil enable –without debug
修改Wish.app的Info.plist
cd到Wish.app目录
cd /System/Library/Frameworks/Tk.framework/Versions/Current/Resources
打开Info.plist
sudo gedit ./Wish.app/Contents/Info.plist
将以下代码加入标签末端
<key>NSHighResolutionCapable</key>
<true/>
更新Wish.app
sudo touch Wish.app
这里需要加一下sudo否则提示:touch: Wish.app: Permission denied
打开rootless
使用完毕后最好再打开rootless
本文链接:http://www.ieayoio.com/2017/03/31/mac下解决gitk模糊完整教程/
参考链接:
更多推荐
所有评论(0)