Initial commit

This commit is contained in:
Codex
2026-01-23 11:12:31 +01:00
commit 0c420a8697
27 changed files with 1767 additions and 0 deletions

18
client/package_client.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
DIST_DIR="dist/BackupClient"
PYINSTALLER_ARGS=(
"--onefile"
"--add-data" "config.json;."
"--add-data" "scheduler;scheduler"
"src/__main__.py"
)
cd "client"
python -m PyInstaller "${PYINSTALLER_ARGS[@]}"
if [ ! -d "${DIST_DIR}" ]; then
echo "ERROR: expected dist directory ${DIST_DIR} not created"
exit 1
fi
"$(pwd)/post_build.bat" "${DIST_DIR}"