代码拉取完成,页面将自动刷新
#!/bin/bash
do_clean_framework_SGPlatform () {
echo "clean SGPlatform..."
if [ -d ".git" ]; then
echo "remove SGPlatform from git submodule."
git submodule deinit --all
fi
if [ -d "Vendors/SGPlatform/SGPlatform.xcodeproj" ]; then
echo "remove SGPlatform files."
rm -rf Vendors/SGPlatform
fi
echo "clean SGPlatform done."
}
do_clean_lib_ffmpeg () {
echo "clean lib ffmpeg..."
if [ -d "SGPlayer/Classes/Core/SGFFPlayer/ffmpeg/lib-iOS" ]; then
echo "remove lib ffmpeg for iOS"
rm -rf SGPlayer/Classes/Core/SGFFPlayer/ffmpeg/lib-iOS
fi
if [ -d "SGPlayer/Classes/Core/SGFFPlayer/ffmpeg/lib-macOS" ]; then
echo "remove lib ffmpeg for macOS"
rm -rf SGPlayer/Classes/Core/SGFFPlayer/ffmpeg/lib-macOS
fi
if [ -d "SGPlayer/Classes/Core/SGFFPlayer/ffmpeg/lib-tvOS" ]; then
echo "remove lib ffmpeg for tvOS"
rm -rf SGPlayer/Classes/Core/SGFFPlayer/ffmpeg/lib-tvOS
fi
echo "clean lib ffmpeg done."
}
do_clean_framework_SGPlatform
do_clean_lib_ffmpeg
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。