diff --git a/scripts/prepareAndroid.sh b/scripts/prepareAndroid.sh index 9ecf19fd9..e72d6c5ab 100755 --- a/scripts/prepareAndroid.sh +++ b/scripts/prepareAndroid.sh @@ -14,7 +14,11 @@ then tput bel exit 0 fi + +mv studio.html studiohtml npm run build +mv studiohtml studio.html + echo ''' import type { CapacitorConfig } from "@capacitor/cli"; @@ -54,8 +58,7 @@ cp -r dist/assets/docs dist-full/assets/ cp -r dist/assets/fonts dist-full/assets/ cp -r dist/assets/langs dist-full/assets/ cp -r dist/assets/layers dist-full/assets/ -# We need the assets in the layers, but not the actual layer files, which can take quite a bit of space -rm dist-full/assets/layers/*/*.json + cp -r dist/assets/png dist-full/assets/ cp -r dist/assets/svg dist-full/assets/ cp -r dist/assets/templates dist-full/assets/ @@ -64,7 +67,18 @@ cp -r dist/assets/themes dist-full/assets/ # cp dist/assets/*.js.map dist-full/assets/ rm -rf dist-full/assets/data/nsi rm dist-full/assets/layers/*/*.json + +# The license info file is compiled in rm dist-full/assets/*/*/*.license +rm dist-full/**/license_info.json + +# We need the assets in the layers, but not the actual layer files, which can take quite a bit of space +rm dist-full/assets/layers/*/*.json +rm dist-full/assets/generated/themes/* +# Needed for studio, but it is not included +rm -rf dist-full/assets/docs + + # mkdir dist-full/assets/generated nvm use diff --git a/src/UI/BigComponents/MenuDrawerIndex.svelte b/src/UI/BigComponents/MenuDrawerIndex.svelte index 3a581d76e..809ff2d87 100644 --- a/src/UI/BigComponents/MenuDrawerIndex.svelte +++ b/src/UI/BigComponents/MenuDrawerIndex.svelte @@ -214,7 +214,7 @@