1 Star 0 Fork 0

OpenFDE/device_fde

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vendorsetup.sh 928 Bytes
一键复制 编辑 原始数据 按行查看 历史
gongyong 提交于 2024-11-11 09:22 . add provision to list
function syncFdeApk {
configPath=${ANDROID_BUILD_TOP}/device/openfde/fde/fde_vnc/FdeVncClient
compareAndDownload ${configPath} ${configPath}.apk
configPath=${ANDROID_BUILD_TOP}/vendor/prebuilts/bdapps/bin/BoringdroidSystemUI
compareAndDownload ${configPath} ${configPath}.apk
configPath=${ANDROID_BUILD_TOP}/device/openfde/fde/fde_gallery/FdeGallery
compareAndDownload ${configPath} ${configPath}.apk
configPath=${ANDROID_BUILD_TOP}/device/openfde/fde/fde_provision/Provision
compareAndDownload ${configPath} ${configPath}.apk
}
function compareAndDownload {
download_url=`cat ${1} |awk '{print $1}'`
md5=`cat ${1} |awk '{print $2}'`
noNeedDownload=0
if [ -n "$md5" ];then
if [ -e ${2} ];then
currentMd5=`md5sum ${2} |awk '{print $1}'`
if [ "$currentMd5" = "$md5" ];then
noNeedDownload=1
fi
fi
fi
if [ $noNeedDownload -eq 0 ];then
wget ${download_url} -O ${2}
fi
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openfde/device_fde.git
git@gitee.com:openfde/device_fde.git
openfde
device_fde
device_fde
fde_w

搜索帮助