This commit is contained in:
2023-07-06 11:16:36 +08:00
parent 00dd3283e9
commit 76d5d60c2b
11 changed files with 57 additions and 37 deletions

View File

@@ -3,7 +3,7 @@
CheckEnv(){
# 检测是不是 Deepin
lsb_release -i | grep -i deepin
if [[ $? != 0 ]]; then
if [[ $? == 0 ]]; then
zenity --error --no-wrap '--text=您的系统无法安装 UEngine原因此脚本不支持 Deepin'
exit
fi
@@ -32,7 +32,7 @@ CheckEnv(){
#kernel=`uname -r`
python3 "${programPath}/CompareVersion.py" "${newestDtkVersion}" "5.5"
if [[ $? != 0 ]]; then
zenity --error --no-wrap "--text=提示:您当前的 dtk 版本过老,请更新 dtk 版本后再试(版本需要大于等于 5.5),可以从 https://gitee.com/gfdgd-xi/dtk-sources-for-uos-apt/ 获取编译好的 dtk"
zenity --error --no-wrap "--text=提示:您当前的 dtk 版本过老,请更新 dtk 版本后再试(版本需要大于等于 5.5),可以从 http://dtk.gfdgdxi.top 获取编译好的 dtk"
exit
fi
#exit