add video
This commit is contained in:
parent
d6ca677a4f
commit
35d80ce18b
5 changed files with 12 additions and 4 deletions
|
@ -16,6 +16,10 @@ macOS 的 DPI 机制和 Windows 下不一样,比如 1080p 的屏幕在 Windows
|
||||||
|
|
||||||
![设置](./img/preferences.jpg)
|
![设置](./img/preferences.jpg)
|
||||||
|
|
||||||
|
<video width="100%" controls autoplay loop>
|
||||||
|
<source src="./img/hidpi.mp4" type="video/mp4">
|
||||||
|
</video>
|
||||||
|
|
||||||
## 使用方法
|
## 使用方法
|
||||||
|
|
||||||
在终端输入以下命令回车即可
|
在终端输入以下命令回车即可
|
||||||
|
|
|
@ -14,6 +14,10 @@ System Preferences
|
||||||
|
|
||||||
![Preferences](./img/preferences.jpg)
|
![Preferences](./img/preferences.jpg)
|
||||||
|
|
||||||
|
<video width="100%" controls autoplay loop>
|
||||||
|
<source src="./img/hidpi.mp4" type="video/mp4">
|
||||||
|
</video>
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Run this script in Terminal
|
Run this script in Terminal
|
||||||
|
|
|
@ -313,7 +313,7 @@ EOF
|
||||||
|
|
||||||
read -p "选择你想要的配置: " res
|
read -p "选择你想要的配置: " res
|
||||||
case $res in
|
case $res in
|
||||||
1 ) create_res_1 1680x944 1600x900 1440x810 1280x720 1024x576
|
1 ) create_res_1 1680x944 1440x810 1280x720 1024x576
|
||||||
;;
|
;;
|
||||||
2 ) create_res_1 2048x1152 1920x1080 1680x944 1440x810 1280x720
|
2 ) create_res_1 2048x1152 1920x1080 1680x944 1440x810 1280x720
|
||||||
create_res_2 1024x576
|
create_res_2 1024x576
|
||||||
|
@ -325,7 +325,7 @@ esac
|
||||||
|
|
||||||
create_res_2 1280x800 1280x720 960x600 960x540 640x360
|
create_res_2 1280x800 1280x720 960x600 960x540 640x360
|
||||||
create_res_3 840x472 800x450 720x405 640x360 576x324 512x288 420x234 400x225 320x180
|
create_res_3 840x472 800x450 720x405 640x360 576x324 512x288 420x234 400x225 320x180
|
||||||
create_res_4 1680x944 1600x900 1440x810 1280x720 1024x576 960x540 840x472 800x450 640x360
|
create_res_4 1680x944 1440x810 1280x720 1024x576 960x540 840x472 800x450 640x360
|
||||||
|
|
||||||
cat >> "$dpiFile" <<-\FFF
|
cat >> "$dpiFile" <<-\FFF
|
||||||
</array>
|
</array>
|
||||||
|
|
4
hidpi.sh
4
hidpi.sh
|
@ -313,7 +313,7 @@ EOF
|
||||||
|
|
||||||
read -p "Enter your choice: " res
|
read -p "Enter your choice: " res
|
||||||
case $res in
|
case $res in
|
||||||
1 ) create_res_1 1680x944 1600x900 1440x810 1280x720 1024x576
|
1 ) create_res_1 1680x944 1440x810 1280x720 1024x576
|
||||||
;;
|
;;
|
||||||
2 ) create_res_1 2048x1152 1920x1080 1680x944 1440x810 1280x720
|
2 ) create_res_1 2048x1152 1920x1080 1680x944 1440x810 1280x720
|
||||||
create_res_2 1024x576
|
create_res_2 1024x576
|
||||||
|
@ -325,7 +325,7 @@ esac
|
||||||
|
|
||||||
create_res_2 1280x800 1280x720 960x600 960x540 640x360
|
create_res_2 1280x800 1280x720 960x600 960x540 640x360
|
||||||
create_res_3 840x472 800x450 720x405 640x360 576x324 512x288 420x234 400x225 320x180
|
create_res_3 840x472 800x450 720x405 640x360 576x324 512x288 420x234 400x225 320x180
|
||||||
create_res_4 1680x944 1600x900 1440x810 1280x720 1024x576 960x540 840x472 800x450 640x360
|
create_res_4 1680x944 1440x810 1280x720 1024x576 960x540 840x472 800x450 640x360
|
||||||
|
|
||||||
cat >> "$dpiFile" <<-\FFF
|
cat >> "$dpiFile" <<-\FFF
|
||||||
</array>
|
</array>
|
||||||
|
|
BIN
img/hidpi.mp4
Normal file
BIN
img/hidpi.mp4
Normal file
Binary file not shown.
Loading…
Reference in a new issue