#!/bin/bash
# 加载图片

DB_URL="https://cdn02.moecube.com:444/ygopro-database/zh-CN"
DB_DIR="ygopro-database/zh-CN"
CDB_URL="$DB_URL/cards.cdb"
STR_URL="$DB_URL/strings.conf"
LFL_URL="$DB_URL/lflist.conf"

if [ ! -d $DB_DIR ]; then mkdir -p $DB_DIR; fi

wget "$CDB_URL" -P "$DB_DIR"
wget "$STR_URL" -P "$DB_DIR"
wget "$LFL_URL" -P "$DB_DIR"
