feat: add shared and windowicons from the UI category (#23)
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
import os
|
||||
import requests
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
folders = [
|
||||
"res:/ui/texture/classes/fitting",
|
||||
"res:/ui/texture/classes/fitting/statsicons",
|
||||
"res:/ui/texture/shared",
|
||||
"res:/ui/texture/windowicons",
|
||||
]
|
||||
|
||||
|
||||
latest = requests.get("https://binaries.eveonline.com/eveclient_TQ.json").json()
|
||||
build = latest["build"]
|
||||
@@ -21,7 +27,9 @@ for line in resfile.split("\n"):
|
||||
|
||||
res, path, _, _, _ = line.split(",")
|
||||
|
||||
if res.endswith(".png") and res.startswith("res:/ui/texture/classes/fitting/"):
|
||||
dirname = os.path.dirname(res)
|
||||
|
||||
if res.endswith(".png") and dirname in folders:
|
||||
filename = res.split(":")[1][1:]
|
||||
print(f"Downloading {filename} ...")
|
||||
local_path = "dist/" + filename
|
||||
|
||||
Reference in New Issue
Block a user