mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-13 14:44:45 -04:00
✨ Helpers name changed
This commit is contained in:
parent
85032a0e9e
commit
9a61354b02
2 changed files with 7 additions and 6 deletions
6
build.py
6
build.py
|
@ -2,18 +2,16 @@ import json
|
|||
from clickgen import build_cursor_theme
|
||||
|
||||
from config import name, sizes, delay, bitmaps_dir, temp_folder
|
||||
from helper import cleanup, init_build
|
||||
from helper import init_build, pack_it
|
||||
|
||||
|
||||
def build() -> None:
|
||||
init_build()
|
||||
# Building Cursor Theme
|
||||
with open('./hotspots.json', 'r') as hotspot_file:
|
||||
hotspots = json.loads(hotspot_file.read())
|
||||
build_cursor_theme(name, image_dir=bitmaps_dir,
|
||||
cursor_sizes=sizes, out_path=temp_folder, hotspots=hotspots, archive=False, delay=delay)
|
||||
# helper method
|
||||
cleanup()
|
||||
pack_it()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue