fix(ente): auto-fill ente account add with photos + /opt/ente_data/photos

Skip interactive prompts for app type and export directory by piping
defaults. Use /opt/ente_data/photos instead of /photos.
This commit is contained in:
CanbiZ (MickLesk)
2026-03-30 08:39:01 +02:00
parent 9de814e1d6
commit 7b55c3f637

View File

@@ -395,9 +395,9 @@ echo "Done."
echo ""
echo "Step 4/4: Adding account to Ente CLI & upgrading subscription..."
mkdir -p /photos
mkdir -p /opt/ente_data/photos
export ENTE_CLI_SECRETS_PATH=/opt/ente/cli-config/secrets.txt
ente account add
printf 'photos\n/opt/ente_data/photos\n' | ente account add
ente admin update-subscription -a "$EMAIL" -u "$EMAIL" --no-limit True
echo ""
echo "=== Setup Complete ==="