Enable-HiDPI-OSX icon indicating copy to clipboard operation
Enable-HiDPI-OSX copied to clipboard

cannot restore using ./restore

Open effeci opened this issue 6 years ago • 9 comments


 Display Overrides Backups      

[1] 2019-02-18@15_11_28 [2] .DS_Store

Choose the backup to restore (type in e to exit)[Exit/1/2]: 1 ./restore: line 86: syntax error: unexpected end of file MacBook-Pro-di-Fabri:Enable-HiDPI-OSX-master fabri$

This is the error. How to solve?

effeci avatar Feb 18 '19 14:02 effeci

same problem

Kenrick-Zhou avatar Mar 22 '19 08:03 Kenrick-Zhou

Me too, type index or name ? or sudo?

phoenixsky avatar Mar 28 '19 03:03 phoenixsky

同样的问题,启动不了了

zhanglinbo avatar Apr 03 '19 05:04 zhanglinbo

同样的问题,无法restore,有解决办法吗

wangbogong avatar Apr 22 '19 12:04 wangbogong

me too

grock304 avatar Jun 07 '19 18:06 grock304

The problem still exists.

kosuke-zhang avatar Jun 20 '19 17:06 kosuke-zhang

https://github.com/syscl/Enable-HiDPI-OSX/blob/b9210ec68df04ccffae0b039de974a93dcbe63a8/restore#L80-L81 add a new line fi between L80 and L81 to resolve this issue.

     target="/System/Library/Displays/Overrides" 
+fi
# restore back the backup 

Deardrops avatar Jun 27 '19 04:06 Deardrops

电脑连接显示器就死机

HancockY avatar Jul 30 '20 06:07 HancockY

the problem still exist but never answer :)))

Batuandic avatar Jan 10 '22 00:01 Batuandic