From 3f4dddc0048981f3ce955bce9e3e1bf9357e88db Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Wed, 13 Apr 2022 17:49:38 +0530 Subject: [PATCH] Add backwards compatibility --- scripts/sdk/build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/sdk/build.sh b/scripts/sdk/build.sh index 4b3127fc..2ac4be3a 100755 --- a/scripts/sdk/build.sh +++ b/scripts/sdk/build.sh @@ -11,7 +11,11 @@ cp doc/SDK.md target/README.md pushd target pushd asset-build/assets mv main.*.js ../../main.js -mv *light.*.css ../../style.css +# Create a copy of light theme for backwards compatibility +cp theme-element-light.*.css ../../style.css +# Remove asset hash from css files +mv theme-element-light.*.css ../../theme-element-light.css +mv theme-element-dark.*.css ../../theme-element-dark.css mv download-sandbox.*.html ../../download-sandbox.html rm *.js *.wasm mv ./* ../../