new file: dependence.py

new file:   package.py
new file:   packup.bat
new file:   packup.sh
new file:   requirements.txt
new file:   scripts/__init__.py
new file:   scripts/file_store_api.py
new file:   src/__init__.py
new file:   src/config.toml
new file:   src/modules/__init__.py
new file:   src/modules/plugin_modules.py
new file:   src/modules/user_module.py
new file:   src/process.py
new file:   test.py
This commit is contained in:
JianFeeeee
2025-08-14 12:23:53 +08:00
parent 48c72fb6b4
commit 89631f9ddf
14 changed files with 550 additions and 0 deletions

18
packup.sh Normal file
View File

@ -0,0 +1,18 @@
#!/bin/bash
# 依次运行dependence.py和package.py的shell脚本
echo "正在运行依赖安装脚本..."
python3 dependence.py
if [ $? -ne 0 ]; then
echo "运行dependence.py失败! 错误码: $?"
exit $?
fi
echo "正在运行打包脚本..."
python3 package.py
if [ $? -ne 0 ]; then
echo "运行package.py失败! 错误码: $?"
exit $?
fi
echo "所有脚本执行完毕!"