chore: initial sanitized public snapshot

This commit is contained in:
Aria2 Rust Pro Contributors
2026-07-18 14:16:57 +08:00
commit 17688c3e34
321 changed files with 76859 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
set -eu
config="/config/script.conf"
dest="/downloads/completed"
if [ -f "${config}" ]; then
configured_dest="$(awk -F= '$1 == "dest-dir" {print substr($0, index($0, "=") + 1)}' "${config}" | tail -n 1)"
if [ -n "${configured_dest}" ]; then
dest="${configured_dest}"
fi
fi
mkdir -p "${dest}"
echo "[INFO] Move hook completed. Destination: ${dest}"