add video

This commit is contained in:
xzhih 2019-02-01 00:21:38 +08:00
parent d6ca677a4f
commit 35d80ce18b
5 changed files with 12 additions and 4 deletions

View file

@ -16,6 +16,10 @@ macOS 的 DPI 机制和 Windows 下不一样,比如 1080p 的屏幕在 Windows
![设置](./img/preferences.jpg)
<video width="100%" controls autoplay loop>
<source src="./img/hidpi.mp4" type="video/mp4">
</video>
## 使用方法
在终端输入以下命令回车即可

View file

@ -14,6 +14,10 @@ System Preferences
![Preferences](./img/preferences.jpg)
<video width="100%" controls autoplay loop>
<source src="./img/hidpi.mp4" type="video/mp4">
</video>
## Usage
Run this script in Terminal

View file

@ -313,7 +313,7 @@ EOF
read -p "选择你想要的配置: " res
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
create_res_2 1024x576
@ -325,7 +325,7 @@ esac
create_res_2 1280x800 1280x720 960x600 960x540 640x360
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
</array>

View file

@ -313,7 +313,7 @@ EOF
read -p "Enter your choice: " res
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
create_res_2 1024x576
@ -325,7 +325,7 @@ esac
create_res_2 1280x800 1280x720 960x600 960x540 640x360
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
</array>

BIN
img/hidpi.mp4 Normal file

Binary file not shown.