Open out0fmemory opened 6 years ago
经测试,在high sierra上,可以使用这个网页生成的文件,可以生成正常使用,可以被rdm识别的hdpi分辨率 https://comsysto.github.io/Display-Override-PropertyList-File-Parser-and-Generator-with-HiDPI-Support-For-Scaled-Resolutions/
@out0fmemory 你好能否提供可以工作版本的plist文件和用我的脚本生成的文件?
十分感谢。
syscl
high sierra不能生效额
@shihan9 @out0fmemory 你好能否同时提供一下这个生成的文件和我脚本生成文件?这样我好对比哪里产生了bug,以修复这个问题
syscl
@out0fmemory @shihan9 请尝试最新的脚本,应该修复了注入的bug了。
@syscl high Sierra 10.13.2 1920*1080还是不行
为什么我的评论没了?被owner删了?什么鬼……
记起来了,被删掉的 comment 是讲此脚本附带了二进制可执行文件,本来没有在意,但现在删了评论,事情就变得微妙起来:
946b511417652cd168b5d1da1d55727349439701 /usr/libexec/PlistBuddy
98a6489bd550c8196bc16a590ccfe27c7e09a8d7 /Users/georgexsh/Downloads/plistbuddy
@georgexsh 这个plistbuddy的shasum
和这里里面的plistbuddy是一样的,因为老版本兼容性更好. 每一个版本plistbuddy的sha和md5都不同。这个plistbuddy只有在别人系统里这个程序丢失的情况下才会自动下载:
function _find_plistbuddy()
{
#
# Check if plistBuddy is in place.
#
if [ ! -f /usr/libexec/plistbuddy ];
then
_PRINT_MSG "--->: Downloading plistbuddy ..."
_tidy_exec "sudo curl https://raw.github.com/syscl/Enable-HiDPI-OSX/master/Tools/plistbuddy -o /usr/libexec/plistbuddy --create-dirs" "Install plistbuddy"
_tidy_exec "sudo chmod +x /usr/libexec/plistbuddy" "Change the permissions of plistbuddy (add +x) so that it can be run"
fi
}
你觉得不靠谱,可以反编译,可以检查. 我连注视都写的这么清楚了,先是进来说我的脚本很可怕的干了些别居心叵测的事情,请问看过源码吗?误导性的说脚本很可怕的下载别的东西,提供反馈也不愿意, 和问题相关吗?难道不应该删掉吗?
It is comments like this that have me wondering why I reply at all... You're asking me to do free work for you. And then you ask that I work in your way, instead of my way. As far as me doing free work for you, I ask that you work my way, not your way. Simple as that.
syscl
印象中我 没有 要求你做免费的工作吧?当然了,你的地盘,听你的 :)
@georgexsh 你的建议很好我会在后期去掉这个工具或者发布每一个版本的md5以及sha以避免更多不必要的误解,谢谢。
我只是希望这些工具能够帮助别人开启HiDPI,如果别人开启失败我也很困扰因为我希望所有人都能成功。
删掉的原因是因为和这个问题主题不相关(主题应该是类似plistbuddy的问题),但是github没有论坛中的删除提醒功能。
syscl
@georgexsh 已经在79467ca中彻底移除plistbuddy, 脚本也不再依赖任何plistbuddy的东西.
谢谢你的反馈。
syscl
@syscl 你的努力和诚意令人钦佩,下次需要调整显示器会来尝试。
high Sierra 10.13.2 1920*1080 hidpi还是不行,用switchresx成功了,但是用起来问题很多,所以卸载了,合上盖不能自动切换到外接显示器,电脑休眠之后黑屏,只能强制关机。。苹果什么时候才能做2k屏幕的retina适配。。
2560x1440分辨率的外接显示器,添加1920x1080,1600x900,1280x720都不生效,已经关闭csrutil