mirror of
https://gitee.com/spark-store-project/spark-wine
synced 2025-12-18 13:01:40 +08:00
设置助手 新增 支持一键刷新所有缩放设置到与系统同步
This commit is contained in:
@@ -111,7 +111,7 @@ SIZE=`echo ${SIZE%%.*}`
|
||||
|
||||
cat << EOF >pkg/DEBIAN/control
|
||||
Package: spark-dwine-helper-settings
|
||||
Version: 1.1
|
||||
Version: 1.2
|
||||
Architecture: all
|
||||
Maintainer: shenmo <shenmo@spark-app.store>
|
||||
Installed-Size: $SIZE
|
||||
|
||||
@@ -10,6 +10,7 @@ CHOSEN_SETTINGS=`zenity --list \
|
||||
--column="操作" \
|
||||
设置全局缩放 \
|
||||
设置单独应用缩放 \
|
||||
一键将所有已安装应用的缩放设置改为与全局缩放一致 \
|
||||
备注:以上操作仅对使用了spark-dwine-helper的应用生效 `
|
||||
|
||||
echo "$CHOSEN_SETTINGS"
|
||||
@@ -88,6 +89,10 @@ esac
|
||||
|
||||
|
||||
fi
|
||||
;;
|
||||
"一键将所有已安装应用的缩放设置改为与全局缩放一致")
|
||||
find ${HOME}/.deepinwine/ -name "scale.txt" -type f -print -exec rm -rf {} \;
|
||||
zenity --info --text="以下容器中的应用的缩放设置已与全局设置同步:\n`cd ${HOME}/.deepinwine/ && ls`" --width=500 --height=150
|
||||
;;
|
||||
"以上操作仅对使用了spark-dwine-helper的应用生效")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user