Files
sunnypilot/third_party/bootstrap/pull.sh
T
github-actions[bot] 705bfb5e34 sunnypilot v2026.04.10-4382
version: sunnypilot v2026.001.000 (feature-branch)
date: 2026-04-10T09:48:29
master commit: e541489b33
2026-04-10 09:48:29 +00:00

25 lines
527 B
Bash
Executable File

#!/bin/bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
cd $DIR
if [ ! -d icons/ ]; then
git clone https://github.com/twbs/icons/
fi
cd icons
git fetch --all
git checkout d5aa187483a1b0b186f87adcfa8576350d970d98
cp bootstrap-icons.svg ../
# Convert WOFF → TTF for imgui (imgui only reads TTF/OTF)
python3 -c "
from fontTools.ttLib import TTFont
import io
f = TTFont('font/fonts/bootstrap-icons.woff')
f.flavor = None
f.save('../bootstrap-icons.ttf')
print('bootstrap-icons.ttf written')
"