新增运行aapt脚本
This commit is contained in:
parent
23179c0266
commit
ce15113a7a
|
@ -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 $?
|
Loading…
Reference in New Issue