From 45c2332ff276a6d8711218619d1378216b091903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Mon, 30 Oct 2023 16:46:55 +0100 Subject: [PATCH] replace sitetitle placeholder --- build-webinstaller.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-webinstaller.sh b/build-webinstaller.sh index 9a1d4c0..c72f17a 100644 --- a/build-webinstaller.sh +++ b/build-webinstaller.sh @@ -9,6 +9,8 @@ cp versions.json ./hardware-installer/src/versions.json cp installer/config.js ./hardware-installer/src/config.js cp installer/Hero.jsx ./hardware-installer/src/Hero.jsx +sed -i "s/%title%/$PROJECT_NAME/g" ./hardware-installer/index.html + mkdir -p $INSTALLER_PATH for version in $(jq -r '.versions[]' ./hardware-installer/src/versions.json); do mkdir -p $INSTALLER_PATH/$version