feat: add auto-update check (v1.0.1)

This commit is contained in:
2026-02-13 11:40:45 +01:00
parent c58b54faf6
commit d002e6a900
8 changed files with 169 additions and 12 deletions

View File

@@ -9,7 +9,12 @@ CSS_FILE="$SCRIPT_DIR/style.css"
JS_FILE="$SCRIPT_DIR/kantine.js"
# === VERSION ===
VERSION="v1.0.0"
if [ -f "$SCRIPT_DIR/version.txt" ]; then
VERSION=$(cat "$SCRIPT_DIR/version.txt" | tr -d '\n')
else
echo "ERROR: version.txt not found"
exit 1
fi
mkdir -p "$DIST_DIR"