Initial upload to Gitea
This commit is contained in:
1 parent
78193254ad
commit
8478998cae
1485 files changed
+461025
-42348
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# Subset the vendored Font Awesome webfonts to only the icons the panel uses.
|
||||
# Self-contained: creates a local venv with fonttools+brotli if needed, then
|
||||
# runs the Python subsetter. Re-run after adding new icons.
|
||||
set -euo pipefail
|
||||
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
VENV="$HERE/.venv"
|
||||
if [ ! -x "$VENV/bin/python" ]; then
|
||||
echo "[fa-subset] creating venv at $VENV"
|
||||
python3 -m venv "$VENV"
|
||||
"$VENV/bin/pip" install -q --upgrade pip
|
||||
"$VENV/bin/pip" install -q fonttools brotli
|
||||
fi
|
||||
exec "$VENV/bin/python" "$HERE/subset-fontawesome.py"
|
||||
Reference in new issue
Block a user