Commit bf22fd4b authored by hex's avatar hex

更新cdn

parent eeece492
Pipeline #40824 failed
...@@ -599,7 +599,7 @@ public class Program : MonoBehaviour ...@@ -599,7 +599,7 @@ public class Program : MonoBehaviour
bool lflistUpdated = false; bool lflistUpdated = false;
bool stringsUpdated = false; bool stringsUpdated = false;
// 1. 下载 cards.cdb // 1. 下载 cards.cdb
string cardsUrl = "https://cdntx.moecube.com/koishipro/ygopro-database/zh-CN/cards.cdb"; string cardsUrl = "https://cdntx.moecube.com/koishipro/content/cards.cdb";
string cardsPath = Path.Combine(dbDir, "cards.cdb"); string cardsPath = Path.Combine(dbDir, "cards.cdb");
yield return StartCoroutine( yield return StartCoroutine(
UnityFileDownloader.DownloadFileWithHeadCheck( UnityFileDownloader.DownloadFileWithHeadCheck(
...@@ -617,7 +617,7 @@ public class Program : MonoBehaviour ...@@ -617,7 +617,7 @@ public class Program : MonoBehaviour
); );
// 2. 下载 lflist.conf // 2. 下载 lflist.conf
string lflistUrl = "https://cdntx.moecube.com/koishipro/ygopro-database/zh-CN/lflist.conf"; string lflistUrl = "https://cdntx.moecube.com/koishipro/content/lflist.conf";
string lflistPath = Path.Combine(dbDir, "lflist.conf"); string lflistPath = Path.Combine(dbDir, "lflist.conf");
yield return StartCoroutine( yield return StartCoroutine(
UnityFileDownloader.DownloadFileWithHeadCheck( UnityFileDownloader.DownloadFileWithHeadCheck(
...@@ -635,7 +635,7 @@ public class Program : MonoBehaviour ...@@ -635,7 +635,7 @@ public class Program : MonoBehaviour
); );
// 3. 下载 strings.conf // 3. 下载 strings.conf
string stringsUrl = string stringsUrl =
"https://cdntx.moecube.com/koishipro/ygopro-database/zh-CN/strings.conf"; "https://cdntx.moecube.com/koishipro/content/strings.conf";
string stringsPath = Path.Combine(dbDir, "strings.conf"); string stringsPath = Path.Combine(dbDir, "strings.conf");
yield return StartCoroutine( yield return StartCoroutine(
UnityFileDownloader.DownloadFileWithHeadCheck( UnityFileDownloader.DownloadFileWithHeadCheck(
......
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