Commit abdeaeda authored by Chunchi Che's avatar Chunchi Che

add resources dir and load script

parent 9922df98
ygopro-images-zh-CN.zip
images/ygopro-images-zh-CN/*.jpg
images/ygopro-images-zh-CN/field/*.jpg
ygopro-database/zh-CN/*
#!/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"
wget "$CDB_URL" -P "$DB_DIR"
wget "$STR_URL" -P "$DB_DIR"
wget "$LFL_URL" -P "$DB_DIR"
#!/bin/bash
# 加载图片
IMAGES_ZIP="ygopro-images-zh-CN.zip"
IMAGES_URL="https://cdn02.moecube.com:444/images/$IMAGES_ZIP"
IMAGES_DIR="images/ygopro-images-zh-CN"
wget "$IMAGES_URL"
unzip "$IMAGES_ZIP" -d "$IMAGES_DIR"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment