mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
add font orbitron for ui-v1.5
This commit is contained in:
parent
7d81b9e837
commit
2c778e0828
|
|
@ -21,6 +21,8 @@ ENV ver_hashwasm=4.12.0 \
|
|||
# download;
|
||||
# the scp url is regular latin from https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap
|
||||
RUN mkdir -p /z/dist/no-pk \
|
||||
&& wget https://ocv.me/dev/fonts/orbitron.woff2 -O /z/dist/no-pk/orbitron.woff2 \
|
||||
&& sha512sum /z/dist/no-pk/orbitron.woff2 | tee /dev/stderr | grep -q b36a69a1b483ca735a3e7d026cdc5e993b8359bbf69b05deadc369fa759f88fe6087bbbbc0be51e62daf034c090df7ee096e5b07884c494aebf56db0e2bc53f7 \
|
||||
&& wget https://fonts.gstatic.com/s/sourcecodepro/v11/HI_SiYsKILxRpg3hIP6sJ7fM7PqlPevW.woff2 -O scp.woff2 \
|
||||
&& apk add \
|
||||
bash brotli cmake make g++ git gzip lame npm patch pigz \
|
||||
|
|
|
|||
|
|
@ -511,6 +511,7 @@ unhelpg() {
|
|||
[ $no_hl ] &&
|
||||
rm -rf copyparty/web/deps/prism*
|
||||
|
||||
rm -f copyparty/web/deps/orbitron.woff2 # todo:uiv15
|
||||
[ $no_fnt ] && {
|
||||
rm -f copyparty/web/deps/scp.woff2
|
||||
f=copyparty/web/ui.css
|
||||
|
|
|
|||
Loading…
Reference in a new issue