1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-13 10:04:24 +02:00

Build script now look for devicon-*.zip pattern instead of const string

This commit is contained in:
Thomas Bui
2020-09-02 11:17:34 -07:00
parent 00b2996bfa
commit ecf1012586

View File

@@ -49,7 +49,8 @@ def main():
svgs = filehandler.get_svgs_paths(new_icons, args.icons_folder_path)
runner.upload_svgs(svgs)
zip_name = "devicon-v1.0.zip"
# get the downloaded zip file
zip_name = next(Path(".").glob("devicon-*.zip"))
zip_path = Path(args.download_path, zip_name)
runner.download_icomoon_fonts(zip_path)
filehandler.extract_files(str(zip_path), args.download_path)