/addons_config/

This commit is contained in:
Alexandre
2021-12-29 13:23:54 +01:00
parent b1842412dd
commit 03fc02af43
6 changed files with 23 additions and 23 deletions

View File

@@ -13,13 +13,13 @@ if bashio::config.has_value 'theme'; then
case $CUSTOMUI in
"comixology2")
curl -s -S -J -L -o /data/release.zip https://github.com/scooterpsu/Comixology_Ubooquity_2/releases/download/v3.4/comixology2.zip >/dev/null &&
unzip -o -q /data/release.zip -d /config/addon_config/ubooquity/themes/
unzip -o -q /data/release.zip -d /config/addons_config/ubooquity/themes/
;;
"plextheme-master")
curl -s -S -J -L -o /data/release.zip https://github.com/FinalAngel/plextheme/archive/master.zip >/dev/null &&
unzip -q /data/release.zip -d /config/addon_config/ubooquity/themes/
# && mv /config/addon_config/ubooquity/themes/plextheme-master/ /config/addon_config/ubooquity/themes/
unzip -q /data/release.zip -d /config/addons_config/ubooquity/themes/
# && mv /config/addons_config/ubooquity/themes/plextheme-master/ /config/addons_config/ubooquity/themes/
;;
esac
@@ -28,6 +28,6 @@ if bashio::config.has_value 'theme'; then
rm /data/release.zip || true
### Set preference
jq --arg variable $CUSTOMUI '.theme = $variable' /config/addon_config/ubooquity/preferences.json | sponge /config/addon_config/ubooquity/preferences.json
jq --arg variable $CUSTOMUI '.theme = $variable' /config/addons_config/ubooquity/preferences.json | sponge /config/addons_config/ubooquity/preferences.json
fi