link to new AllPrintings file (#3851)

This commit is contained in:
tooomm
2019-11-03 04:51:10 +01:00
committed by Zach H
parent b187fb52e0
commit eadcdc6f7c

View File

@@ -37,14 +37,14 @@
#define ZIP_SIGNATURE "PK"
// Xz stream header: 0xFD + "7zXZ"
#define XZ_SIGNATURE "\xFD\x37\x7A\x58\x5A"
#define ALLSETS_URL_FALLBACK "https://mtgjson.com/json/AllSets.json"
#define ALLSETS_URL_FALLBACK "https://www.mtgjson.com/files/AllPrintings.json"
#ifdef HAS_LZMA
#define ALLSETS_URL "https://mtgjson.com/json/AllSets.json.xz"
#define ALLSETS_URL "https://www.mtgjson.com/files/AllPrintings.json.xz"
#elif defined(HAS_ZLIB)
#define ALLSETS_URL "https://mtgjson.com/json/AllSets.json.zip"
#define ALLSETS_URL "https://www.mtgjson.com/files/AllPrintings.json.zip"
#else
#define ALLSETS_URL "https://mtgjson.com/json/AllSets.json"
#define ALLSETS_URL "https://www.mtgjson.com/files/AllPrintings.json"
#endif
#define TOKENS_URL "https://raw.githubusercontent.com/Cockatrice/Magic-Token/master/tokens.xml"