mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 22:59:58 -07:00
34 lines
919 B
Bash
Executable File
34 lines
919 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DATE=$(date -u '+%Y-%m-%d_%H-%M-%S')
|
|
OUTPUT="/assets/pwa/${DATE}"
|
|
|
|
mkdir ".${OUTPUT}"
|
|
cp "./assets/pwa/index.html" ".${OUTPUT}/"
|
|
|
|
pwa-asset-generator "../assets/logo-icon.svg" ".${OUTPUT}" \
|
|
--index ".${OUTPUT}/index.html" \
|
|
--manifest "./manifest.webmanifest" \
|
|
--favicon \
|
|
--padding "0%" \
|
|
--path-override "${OUTPUT}" \
|
|
--quality "100" \
|
|
--opaque "false"
|
|
|
|
pwa-asset-generator "../assets/logo-dove-light.svg" ".${OUTPUT}" \
|
|
--index ".${OUTPUT}/index.html" \
|
|
--manifest "./manifest.webmanifest" \
|
|
--icon-only \
|
|
--background "#f26610" \
|
|
--padding "5%" \
|
|
--path-override "${OUTPUT}" \
|
|
--quality "100"
|
|
|
|
pwa-asset-generator "../assets/logo-dove-light.svg" ".${OUTPUT}" \
|
|
--index ".${OUTPUT}/index.html" \
|
|
--splash-only \
|
|
--background "#f26610" \
|
|
--padding "min(35vh, 35vw)" \
|
|
--path-override "${OUTPUT}" \
|
|
--quality "100"
|