初始化仓库

This commit is contained in:
wangxiaowei
2026-04-14 16:54:04 +08:00
commit 967c25b397
553 changed files with 106514 additions and 0 deletions

17
autoMiniprogram.sh Normal file
View File

@ -0,0 +1,17 @@
#!/bin/bash
# 文件原路径
srcPath="./unpackage/dist/build/mp-weixin"
# 发布路径文件夹
releasePath="../server/public/mp-weixin"
#删除发布目录下的mobile文件
rm -r $releasePath
echo "已删除 ==> $releasePath 下的目录文件"
mkdir $releasePath
echo "已新建 ==> $releasePath 目录"
# 复制打包目录内的文件到发布目录
cp -r $srcPath/* $releasePath
echo "已复制 $srcPath/* ==> $releasePath"
cp $releasePath/../favicon.ico $releasePath