1 Star 0 Fork 34

石志鹏 / lv_demo_hub

forked from Flying / lv_demo_hub 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
arm_run.sh 683 Bytes
一键复制 编辑 原始数据 按行查看 历史
###
# @Author: Flying
# @Date: 2022-03-27 11:48:31
# @LastEditors: Flying
# @LastEditTime: 2022-07-20 20:10:01
# @Description: 新建文件
###
nolog_op=""
is_cp_knx="cpknx"
for param in "$@"
do
if [ "$param" == "nolog" ]; then
nolog_op="nolog"
fi
done
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./resource/lib
chmod a+x ./lv_demo_hub
#sd卡无法运行bug
cp ./resource/lib/libfreetype.so.6.18.0 ./resource/lib/libfreetype.so.6
cp ./resource/lib/librlottie.so.0.2 ./resource/lib/librlottie.so.0
#清理缓存:临时
echo 3 > /proc/sys/vm/drop_caches
if [[ "$nolog_op" == "nolog" ]]
then
./lv_demo_hub $2 >>/dev/null 2>&1
else
./lv_demo_hub $1
fi
1
https://gitee.com/shi_chi_peng/lv_demo_hub.git
git@gitee.com:shi_chi_peng/lv_demo_hub.git
shi_chi_peng
lv_demo_hub
lv_demo_hub
master

搜索帮助