first commit

This commit is contained in:
zj
2025-12-28 15:15:19 +08:00
commit 42d43f7342
606 changed files with 14592 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#!/usr/bin/env bash
SO_PATH="/home/smart/SmartOrganizer"
TASK_FILE="${SO_PATH}/tasks/upgrade_self.conf"
TARGET_VERSION=${1}
if [[ -z ${TARGET_VERSION} ]]; then
echo "Please input target_version, eg: xxx.sh 1.0.0"
exit 2
fi
echo "CFG_NAME=\"SmartOrganizer\"
CFG_VERSION=\"${TARGET_VERSION}\"
CFG_URL=\"http://static.baobaot.com/smart/organizer/\${CFG_NAME}.zip\"
CFG_FORMAT=\"zip\"
CFG_DIR=\"\"
CFG_UN=\"\"
CFG_OUTPUT_PATH=\"\"
CFG_EXECUTE=\"upgrade.sh\"
CFG_ARGS=\"\"" > ${TASK_FILE}