mirror of
https://github.com/xzhih/one-key-hidpi.git
synced 2026-04-13 01:13:42 +08:00
fix #172
This commit is contained in:
committed by
GitHub
parent
2f356f4b67
commit
53924b739f
2
hidpi.sh
2
hidpi.sh
@@ -102,7 +102,7 @@ function get_edid() {
|
|||||||
let index++
|
let index++
|
||||||
MonitorName=("$(echo ${display:190:24} | xxd -p -r)")
|
MonitorName=("$(echo ${display:190:24} | xxd -p -r)")
|
||||||
VendorID=${display:16:4}
|
VendorID=${display:16:4}
|
||||||
ProductID=${gMonitor:22:2}${gMonitor:20:2}
|
ProductID=${display:22:2}${display:20:2}
|
||||||
|
|
||||||
if [[ ${VendorID} == 0610 ]]; then
|
if [[ ${VendorID} == 0610 ]]; then
|
||||||
MonitorName="Apple Display"
|
MonitorName="Apple Display"
|
||||||
|
|||||||
Reference in New Issue
Block a user