From 4a469f2a8279167564993ca1f6d68eee5598778a Mon Sep 17 00:00:00 2001
From: gfdgd_xi <3025613752@qq.com>
Date: Fri, 23 Jun 2023 14:30:41 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D=E6=97=A0?=
 =?UTF-8?q?=E5=9B=BE=E6=A0=87=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 package-script/mkicons.sh         | 6 ++++++
 package-script/script-packager.sh | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/package-script/mkicons.sh b/package-script/mkicons.sh
index 0947082..c8f08bd 100755
--- a/package-script/mkicons.sh
+++ b/package-script/mkicons.sh
@@ -76,6 +76,12 @@ make_icon()
             make_png
         fi
     else
+	cp deepin-wine-runner.svg "$tmp"
+	if command -v inkscape > /dev/null 2>&1; then
+	    make_svg
+	else
+	    make_png
+	fi
         echo "wrestool failed"
     fi
     rm $tmp
diff --git a/package-script/script-packager.sh b/package-script/script-packager.sh
index 3f0302b..f27a12e 100755
--- a/package-script/script-packager.sh
+++ b/package-script/script-packager.sh
@@ -368,4 +368,4 @@ echo "=====>Creating deb package..."
 mv debian DEBIAN
 dpkg-deb -b ./ ../package_save/uos
 echo "<=====done."
-exit 0
\ No newline at end of file
+exit 0