swap assets server

This commit is contained in:
nocci 2025-05-09 17:06:26 +02:00
parent cb53530c88
commit c23f2f88e8
1 changed files with 10 additions and 10 deletions

View File

@ -90,15 +90,15 @@ echo -e "\n\033[1;32m✅ Downloading assets - Please wait!\033[0m"
# Download Pictures from my server # Download Pictures from my server
cd "$PROJECT_DIR/static" cd "$PROJECT_DIR/static"
wget -O logo.webp "https://drop.nocadmin.net/logo.webp" > /dev/null 2>&1 wget -O logo.webp "https://assets.skynet.li/logo.webp" > /dev/null 2>&1
wget -O logo_small.webp "https://drop.nocadmin.net/logo_small.webp" > /dev/null 2>&1 wget -O logo_small.webp "https://assets.skynet.li/logo_small.webp" > /dev/null 2>&1
wget -O forgejo.webp "https://drop.nocadmin.net/forgejo.webp" > /dev/null 2>&1 wget -O forgejo.webp "https://assets.skynet.li/forgejo.webp" > /dev/null 2>&1
wget -O gog_logo.webp "https://drop.nocadmin.net/gog_logo.webp" > /dev/null 2>&1 wget -O gog_logo.webp "https://assets.skynet.li/gog_logo.webp" > /dev/null 2>&1
wget -O logo_small_maskable.webp "https://drop.nocadmin.net/logo_small_maskable.webp" > /dev/null 2>&1 wget -O logo_small_maskable.webp "https://assets.skynet.li/logo_small_maskable.webp" > /dev/null 2>&1
wget -O favicon.ico "https://drop.nocadmin.net/favicon.ico" > /dev/null 2>&1 wget -O favicon.ico "https://assets.skynet.li/favicon.ico" > /dev/null 2>&1
wget -O apple-touch-icon.png "https://drop.nocadmin.net/apple-touch-icon.png" > /dev/null 2>&1 wget -O apple-touch-icon.png "https://assets.skynet.li/apple-touch-icon.png" > /dev/null 2>&1
wget -O web-app-manifest-192x192.png "https://drop.nocadmin.net/web-app-manifest-192x192.png" > /dev/null 2>&1 wget -O web-app-manifest-192x192.png "https://assets.skynet.li/web-app-manifest-192x192.png" > /dev/null 2>&1
wget -O web-app-manifest-512x512.png "https://drop.nocadmin.net/web-app-manifest-512x512.png" > /dev/null 2>&1 wget -O web-app-manifest-512x512.png "https://assets.skynet.li/web-app-manifest-512x512.png" > /dev/null 2>&1
cd ../.. cd ../..
cd $PROJECT_DIR cd $PROJECT_DIR
@ -3071,7 +3071,7 @@ cd "$TRANSLATIONS_DIR"
read -p "Do you want to download German translations from the dev-server (could cause trouble, but normally it is safe)? [y/N]: " download_de read -p "Do you want to download German translations from the dev-server (could cause trouble, but normally it is safe)? [y/N]: " download_de
if [[ "$download_de" =~ ^[YyJj]$ ]]; then if [[ "$download_de" =~ ^[YyJj]$ ]]; then
wget -O de.json "https://drop.nocadmin.net/de.json" > /dev/null 2>&1 wget -O de.json "https://assets.skynet.li/de.json" > /dev/null 2>&1
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "✅ German translations downloaded successfully." echo "✅ German translations downloaded successfully."
else else