mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-13 14:44:45 -04:00
🏗 Cursor Theme build
This commit is contained in:
parent
cb89f03582
commit
bc6e47f993
1 changed files with 9 additions and 6 deletions
15
build.py
15
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue