1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 06:18:42 +03:00
This commit is contained in:
Anton Afanasyeu
2026-06-20 21:04:16 +02:00
parent c7d1c8895e
commit 462962b8dc
3 changed files with 21 additions and 2 deletions

View File

@@ -41,11 +41,13 @@ sync_local() {
echo "Mount BE sshfs or pass the BE androidcast_project path as arg 1." >&2
exit 1
fi
mkdir -p "$dest/assets/i18n"
mkdir -p "$dest/assets/i18n" "$dest/partials"
for f in "${hub_files[@]}"; do
install -m 0644 "$SRC/$f" "$dest/$f"
echo " $f"
done
install -D -m 0644 "$SRC/partials/cookie_consent.php" "$dest/partials/cookie_consent.php"
echo " partials/cookie_consent.php"
for f in "${asset_files[@]}"; do
install -D -m 0644 "$SRC/$f" "$dest/$f"
echo " $f"
@@ -84,6 +86,8 @@ if [[ -n "$REMOTE" ]]; then
scp "$tmp/index.php" "$tmp/index.html" "$tmp/hub.css" "$tmp/hub-logo-layers.css" \
"$tmp/hub-landing.css" "$tmp/landing-pages.inc.php" \
"$REMOTE:/var/www/localhost/htdocs/apps/app/androidcast_project/"
scp "$SRC/partials/cookie_consent.php" \
"$REMOTE:/var/www/localhost/htdocs/apps/app/androidcast_project/partials/"
scp -r "$tmp/assets/hub-landing.js" "$tmp/assets/hub-i18n.js" "$tmp/assets/hub-globe.js" \
"$tmp/assets/analytics.config.js" "$tmp/assets/i18n" \
"$REMOTE:/var/www/localhost/htdocs/apps/app/androidcast_project/assets/"