Skip to content

Commit

Permalink
新增运行aapt脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
gfdgd-xi committed Jan 29, 2024
1 parent 23179c0 commit ce15113
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions aapt/run-aapt.sh
Original file line number Diff line number Diff line change
@@ -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 $?

0 comments on commit ce15113

Please sign in to comment.