fix: 部分Wine应用调整缩放后无法使用

This commit is contained in:
2024-11-04 23:35:43 +08:00
parent 61faeee4fc
commit 6407bf0720

View File

@@ -187,7 +187,7 @@ select_scale_action() {
if [ "$scale_factor" == "恢复默认" ];then
rm $HOME/.deepinwine/$bottle_name/scale.txt
else
$SHELL_DIR/scale-set-helper/set-wine-scale.sh -s "$scale_factor" "$HOME/.deepinwine/$bottle_name"
echo "$scale_factor" > "$HOME/.deepinwine/$bottle_name/scale.txt"
fi
elif [ "$scale_type" == "全局" ]; then
if [ "$scale_factor" == "恢复默认" ];then