From aa039277a92090ea1228ebc715cb939bcddddcf3 Mon Sep 17 00:00:00 2001
From: rain-gfd <q3025613752@qq.com>
Date: Sun, 21 May 2023 18:28:23 +0800
Subject: [PATCH] Repair UEngine Installer System Check Problem

---
 uengine-installer | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/uengine-installer b/uengine-installer
index 1670039..1d2e6d6 100755
--- a/uengine-installer
+++ b/uengine-installer
@@ -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