3 Commits

Author SHA1 Message Date
monlor
afd444a45f 2020-03-06 16:08:36 2020-03-06 16:08:36 +08:00
monlor
8721073e15 2020-03-06 15:57:27 2020-03-06 15:57:27 +08:00
monlor
38e6e5beec 2020-03-06 15:50:15 2020-03-06 15:50:15 +08:00
2 changed files with 7 additions and 10 deletions

View File

@@ -76,15 +76,12 @@ pack() {
done
gerneral_applist
if [ ! -d ${pack_dir} ]; then
mkdir -p ${pack_dir}
mkdir -p ${pack_dir}/appstore
mkdir -p ${pack_dir}/temp
mkdir -p ${pack_dir}/appsbin
fi
test ! -d ${pack_dir}/appstore && mkdir -p ${pack_dir}/appstore
test ! -d ${pack_dir}/temp && mkdir -p ${pack_dir}/temp
test ! -d ${pack_dir}/appsbin && mkdir -p ${pack_dir}/appsbin
cp -rf appsbin/* ${pack_dir}/
cp -rf temp/* ${pack_dir}/
cp -rf appsbin/* ${pack_dir}/appsbin/
cp -rf temp/* ${pack_dir}/temp/
cp -rf install.sh ${pack_dir}/
mv -f appstore/* ${pack_dir}/appstore/
mv -f applist.txt ${pack_dir}/
@@ -137,7 +134,7 @@ deploy() {
git add .
git commit -m "$(TZ='Asia/Shanghai' date "+%Y-%m-%d %H:%M:%S")" -a
fi
# git lfs push "$3" --all
git lfs push "$3" --all
git push "$3"
}