Commit 5980f0ed authored by nanahira's avatar nanahira

change download pic url again

parent 5791a7ed
......@@ -25,9 +25,9 @@ get_data:
- ygopro2-data/deck
script:
- mkdir -p ygopro2-data/cdb
- wget -O ygopro2-data/cdb/cards.cdb https://cdn01.moecube.com/koishipro/contents/cards.cdb
- wget -O ygopro2-data/cdb/lflist.conf https://cdn01.moecube.com/koishipro/contents/lflist.conf
- wget -O ygopro2-data/cdb/strings.conf https://cdn01.moecube.com/koishipro/contents/strings.conf
- wget -O ygopro2-data/cdb/cards.cdb https://cdn01.moecube.com/koishipro/ygopro-database/zh-CN/cards.cdb
- wget -O ygopro2-data/cdb/lflist.conf https://cdn01.moecube.com/koishipro/ygopro-database/zh-CN/lflist.conf
- wget -O ygopro2-data/cdb/strings.conf https://cdn01.moecube.com/koishipro/ygopro-database/zh-CN/strings.conf
- git clone --depth=1 https://code.mycard.moe/mycard/ygopro-starter-pack
- mv ygopro-starter-pack/deck ygopro2-data/
......
......@@ -533,7 +533,7 @@ public class Program : MonoBehaviour
File.Delete("cdb/strings.conf");*/
HttpDldFile httpDldFile = new HttpDldFile();
httpDldFile.Download("http://koishipro2dl.moestart.com/cards.cdb", "cdb/_cards.cdb");
httpDldFile.Download("http://cdn01.moestart.com/koishipro/ygopro-database/zh-CN/cards.cdb", "cdb/_cards.cdb");
if(YGOSharp.CardsManager.initialize("cdb/_cards.cdb", true)) {
ReplaceFile("cdb/cards.cdb", "cdb/_cards.cdb");
}
......@@ -541,7 +541,7 @@ public class Program : MonoBehaviour
{
PrintToChat(InterString.Get("卡片数据库更新失败。"));
}
httpDldFile.Download("http://koishipro2dl.moestart.com/lflist.conf", "cdb/_lflist.conf");
httpDldFile.Download("http://cdn01.moestart.com/koishipro/ygopro-database/zh-CN/lflist.conf", "cdb/_lflist.conf");
if(YGOSharp.BanlistManager.initialize("cdb/_lflist.conf", true)) {
ReplaceFile("cdb/lflist.conf","cdb/_lflist.conf");
}
......@@ -549,7 +549,7 @@ public class Program : MonoBehaviour
{
PrintToChat(InterString.Get("禁止/限制卡表文件更新失败。"));
}
httpDldFile.Download("http://koishipro2dl.moestart.com/strings.conf", "cdb/_strings.conf");
httpDldFile.Download("http://cdn01.moestart.com/koishipro/ygopro-database/zh-CN/strings.conf", "cdb/_strings.conf");
if(GameStringManager.initialize("cdb/_strings.conf", true)) {
ReplaceFile("cdb/strings.conf","cdb/_strings.conf");
}
......
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