mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-14 23:24:48 -04:00
⚡ Customize Cursor's sizes from 'make' command
This commit is contained in:
parent
05ce070192
commit
ae0cddf732
2 changed files with 56 additions and 38 deletions
|
@ -6,6 +6,10 @@ all: clean setup build
|
|||
.ONESHELL:
|
||||
SHELL:=/bin/bash
|
||||
|
||||
X_SIZES ?=22 24 28 32 40 48 56 64 72 80 88 96
|
||||
WIN_CANVAS_SIZE ?= 32
|
||||
WIN_SIZE ?= 24
|
||||
|
||||
clean:
|
||||
@rm -rf applbuild.egg-info build dist
|
||||
@find -iname "*.pyc" -delete
|
||||
|
@ -21,10 +25,10 @@ setup: setup.py
|
|||
@. venv/bin/activate; python3 setup.py install --record files.txt
|
||||
|
||||
build: setup build.py
|
||||
@. venv/bin/activate; python3 build.py
|
||||
@. venv/bin/activate; python3 build.py --xsizes $(X_SIZES) --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE)
|
||||
|
||||
build_unix: setup build.py
|
||||
@. venv/bin/activate; python3 build.py unix
|
||||
@. venv/bin/activate; python3 build.py unix --xsizes $(X_SIZES)
|
||||
|
||||
build_windows: setup build.py
|
||||
@. venv/bin/activate; python3 build.py windows
|
||||
@. venv/bin/activate; python3 build.py windows --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE)
|
Loading…
Add table
Add a link
Reference in a new issue