add hidpi.command
This commit is contained in:
parent
4d0af8a151
commit
2459268e7b
3 changed files with 8 additions and 2 deletions
|
@ -26,7 +26,7 @@ macOS 的 DPI 机制和 Windows 下不一样,比如 1080p 的屏幕在 Windows
|
|||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/xzhih/one-key-hidpi/master/hidpi.sh)"
|
||||
```
|
||||
|
||||
2.本地模式: 下载项目解压,把 `hidpi.sh` 拖进终端按回车运行
|
||||
2.本地模式: 下载项目解压,双击 `hidpi.command` 运行
|
||||
|
||||
![运行](./img/run-zh.jpg)
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ System Preferences
|
|||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/xzhih/one-key-hidpi/master/hidpi.sh)"
|
||||
```
|
||||
|
||||
2.Local Mode: Download ZIP, decompressing it, drag the `hidpi.sh` file into the terminal and press Enter to run
|
||||
2.Local Mode: Download ZIP, decompressing it, and double click `hidpi.command` to run
|
||||
|
||||
![RUN](./img/run.jpg)
|
||||
|
||||
|
|
6
hidpi.command
Executable file
6
hidpi.command
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
|
||||
$DIR/hidpi.sh
|
||||
|
Loading…
Reference in a new issue