From ce15113a7aac2394efe8296ad2b1ba2813353f6f Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Mon, 29 Jan 2024 18:33:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=BF=90=E8=A1=8Caapt?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aapt/run-aapt.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 aapt/run-aapt.sh diff --git a/aapt/run-aapt.sh b/aapt/run-aapt.sh new file mode 100755 index 0000000..4b9c12e --- /dev/null +++ b/aapt/run-aapt.sh @@ -0,0 +1,14 @@ +#!/bin/bash +# 判断是不是 Deepin23 +cat /etc/deepin_version | grep 23 +if [[ $? != 0 ]]; then + # 如果不是 + aapt "$@" + exit $? +fi +# 如果是 +programPath=$(cd $(dirname $0); pwd) +echo $programPath +export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$programPath" +$programPath/aapt "$@" +exit $?