mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-15 15:44:52 -04:00
💖 Build windows cursors
This commit is contained in:
parent
03fb3693d5
commit
7c35cc1a57
2 changed files with 4 additions and 2 deletions
|
@ -58,7 +58,7 @@ def wbuild(bitmaps_dir: LikePath, win_out_dir: Path) -> None:
|
||||||
delay = item["delay"]
|
delay = item["delay"]
|
||||||
|
|
||||||
with CursorAlias.from_bitmap(png, hotspot) as alias:
|
with CursorAlias.from_bitmap(png, hotspot) as alias:
|
||||||
alias = alias.create(X_SIZES, delay)
|
alias.create(X_SIZES, delay)
|
||||||
|
|
||||||
if item.get("win_key"):
|
if item.get("win_key"):
|
||||||
position = item["position"]
|
position = item["position"]
|
||||||
|
|
|
@ -3,9 +3,11 @@
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from applbuild.generator import xbuild
|
from applbuild.generator import xbuild, wbuild
|
||||||
|
|
||||||
bitmaps_dir = Path("../pngs")
|
bitmaps_dir = Path("../pngs")
|
||||||
x_out_dir = Path("../themes") / "macOSBigSur"
|
x_out_dir = Path("../themes") / "macOSBigSur"
|
||||||
|
win_out_dir = Path("../themes") / "macOSBigSur-Windows"
|
||||||
|
|
||||||
xbuild(bitmaps_dir, x_out_dir)
|
xbuild(bitmaps_dir, x_out_dir)
|
||||||
|
wbuild(bitmaps_dir,win_out_dir)
|
Loading…
Add table
Add a link
Reference in a new issue