From bc6e47f9935f131eaa5644b33c909fff821c7de6 Mon Sep 17 00:00:00 2001 From: KaizIqbal <24286590+KaizIqbal@users.noreply.github.com> Date: Tue, 28 Jul 2020 17:02:27 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=20Cursor=20Theme=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/build.py b/build.py index 5f0a21e..7486a38 100644 --- a/build.py +++ b/build.py @@ -1,9 +1,12 @@ import json -import os +import shutil + from clickgen import build_cursor_theme -sizes = [24, 28] -with open('./hotspots.json') as hotspot_file: - file_data = json.loads(hotspot_file.read()) - hotspots = file_data["hotspots"] - print(hotspots) +sizes = [24] + +# Building Cursor Theme +with open('./hotspots.json', 'r') as hotspot_file: + config = json.loads(hotspot_file.read()) + build_cursor_theme(name="macOS Big Sur", image_dir="./bitmaps", + cursor_sizes=sizes, out_path="out", archive=False, delay=30)