mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-13 14:44:45 -04:00
17 lines
549 B
Python
17 lines
549 B
Python
import json
|
|
import shutil
|
|
|
|
from clickgen import build_cursor_theme
|
|
|
|
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)
|
|
|
|
# Rename directory & cleanup
|
|
shutil.move("./out/macOS Big Sur/x11", "./out/macOSBigSur")
|
|
shutil.move("./out/macOS Big Sur/win", "./out/macOSBigSur_Windows")
|
|
shutil.rmtree("./out/macOS Big Sur")
|