aboutsummaryrefslogtreecommitdiff
path: root/scripts/build_resource.sh
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-01-15 19:12:12 +0800
committerMistivia <i@mistivia.com>2025-01-15 19:12:46 +0800
commit4da382953c830a61ae24ccbe95c4241db8788269 (patch)
tree31f6d184273274e2660516d1ac1146b5661f20b6 /scripts/build_resource.sh
restore
Diffstat (limited to 'scripts/build_resource.sh')
-rw-r--r--scripts/build_resource.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build_resource.sh b/scripts/build_resource.sh
new file mode 100644
index 0000000..2021c97
--- /dev/null
+++ b/scripts/build_resource.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+curl https://mtgjson.com/api/v5/AllPrintings.json.gz > mtg.json.gz
+gzip -d mtg.json.gz
+python3 card_process.py > ../resource/mtgzhs