Use script to copy over runtime theme after build

This commit is contained in:
RMidhunSuresh 2022-07-15 14:58:07 +05:30
parent c5f4a75d4b
commit 5ba74b1d75

5
scripts/test-theme.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/zsh
cp theme.json target/assets/theme-customer.json
cat target/config.json | jq '.themeManifests += ["assets/theme-customer.json"]' | cat > target/config.temp.json
rm target/config.json
mv target/config.temp.json target/config.json