修改: 修改指令收集结果;用后删除变量

This commit is contained in:
2022-05-31 13:03:37 +08:00
parent 932a3e2288
commit 69e4fea0ee

View File

@@ -12,16 +12,17 @@ Get_Dist_Name()
fi
}
Get_Dist_Name
if [ "$DISTRO" = "Deepin" ] || [ "$DISTRO" = "UniontechOS" ];then
echo 1.0 > ~/.config/spark-wine/scale.txt
#Get_Dist_Name
#if [ "$DISTRO" = "Deepin" ] || [ "$DISTRO" = "UniontechOS" ];then
#echo 1.0 > ~/.config/spark-wine/scale.txt
#####就是1倍缩放
exit
fi
#exit
#fi
real_path_of_the_fucking_scale_txt=echo ~/.config/spark-wine/scale.txt
real_path_of_the_fucking_scale_txt=`echo ~/.config/spark-wine/scale.txt`
if [ -f "$real_path_of_the_fucking_scale_txt" ];then
echo "设置过了,直接读"
unset real_path_of_the_fucking_scale_txt
exit
fi