support-v23

This commit is contained in:
2023-11-17 21:56:43 +08:00
parent f43db7d6c8
commit 829a7839eb

View File

@@ -113,19 +113,19 @@ fi
if [ "$APPRUN_CMD" = "" ];then if [ "$APPRUN_CMD" = "" ];then
echo "没有检测到APPRUN_CMD环境变量执行sed替换。如果要使用wine原生提供的方法请在环境变量中指定(export)" echo "没有检测到APPRUN_CMD环境变量执行sed替换。如果要使用wine原生提供的方法请在环境变量中指定(export)"
case "$wine_scale" in case "$wine_scale" in
1.0) 1.0*)
reg_text="\"LogPixels\"=dword:00000060" reg_text="\"LogPixels\"=dword:00000060"
;; ;;
1.25) 1.25*)
reg_text="\"LogPixels\"=dword:00000078" reg_text="\"LogPixels\"=dword:00000078"
;; ;;
1.5) 1.5*)
reg_text="\"LogPixels\"=dword:00000090" reg_text="\"LogPixels\"=dword:00000090"
;; ;;
1.75) 1.75*)
reg_text="\"LogPixels\"=dword:000000A8" reg_text="\"LogPixels\"=dword:000000A8"
;; ;;
2.0) 2.0*)
reg_text="\"LogPixels\"=dword:000000C0" reg_text="\"LogPixels\"=dword:000000C0"
;; ;;
*) *)
@@ -157,19 +157,19 @@ else
#####用wine提供的方法 #####用wine提供的方法
case "$wine_scale" in case "$wine_scale" in
1.0) 1.0*)
dpi="96" dpi="96"
;; ;;
1.25) 1.25*)
dpi="120" dpi="120"
;; ;;
1.5) 1.5*)
dpi="144" dpi="144"
;; ;;
1.75) 1.75*)
dpi="168" dpi="168"
;; ;;
2.0) 2.0*)
dpi="192" dpi="192"
;; ;;
*) *)