swap assets server
This commit is contained in:
parent
cb53530c88
commit
c23f2f88e8
20
setup.sh
20
setup.sh
|
@ -90,15 +90,15 @@ echo -e "\n\033[1;32m✅ Downloading assets - Please wait!\033[0m"
|
|||
|
||||
# Download Pictures from my server
|
||||
cd "$PROJECT_DIR/static"
|
||||
wget -O logo.webp "https://drop.nocadmin.net/logo.webp" > /dev/null 2>&1
|
||||
wget -O logo_small.webp "https://drop.nocadmin.net/logo_small.webp" > /dev/null 2>&1
|
||||
wget -O forgejo.webp "https://drop.nocadmin.net/forgejo.webp" > /dev/null 2>&1
|
||||
wget -O gog_logo.webp "https://drop.nocadmin.net/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 favicon.ico "https://drop.nocadmin.net/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 web-app-manifest-192x192.png "https://drop.nocadmin.net/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 logo.webp "https://assets.skynet.li/logo.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://assets.skynet.li/forgejo.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://assets.skynet.li/logo_small_maskable.webp" > /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://assets.skynet.li/apple-touch-icon.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://assets.skynet.li/web-app-manifest-512x512.png" > /dev/null 2>&1
|
||||
cd ../..
|
||||
|
||||
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
|
||||
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
|
||||
echo "✅ German translations downloaded successfully."
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue