mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Correct customui
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
- Add local drives mounts : used localdisks with the text "sda1, sdb1" according to your needs
|
- Add local drives mounts : used localdisks with the text "sda1, sdb1" according to your needs
|
||||||
- Add ssl
|
- Add ssl
|
||||||
- Add ingress
|
- Add ingress
|
||||||
|
- Correct custom ui
|
||||||
|
|
||||||
## 2.1.2-ls63
|
## 2.1.2-ls63
|
||||||
|
|
||||||
|
|||||||
@@ -12,15 +12,14 @@ if bashio::config.has_value 'theme'; then
|
|||||||
### Download WebUI
|
### Download WebUI
|
||||||
case $CUSTOMUI in
|
case $CUSTOMUI in
|
||||||
"comixology2")
|
"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 \
|
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/ubooquity/themes/
|
unzip -o -q /data/release.zip -d /config/ubooquity/themes/
|
||||||
;;
|
;;
|
||||||
|
|
||||||
case $CUSTOMUI in
|
|
||||||
"plextheme-master")
|
"plextheme-master")
|
||||||
curl -s -S -J -L -o /data/release.zip https://github.com/FinalAngel/plextheme/archive/master.zip >/dev/null \
|
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/ubooquity/themes/ \
|
unzip -q /data/release.zip -d /config/ubooquity/themes/
|
||||||
# && mv /config/ubooquity/themes/plextheme-master/ /config/ubooquity/themes/
|
# && mv /config/ubooquity/themes/plextheme-master/ /config/ubooquity/themes/
|
||||||
;;
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
@@ -30,5 +29,5 @@ if bashio::config.has_value 'theme'; then
|
|||||||
|
|
||||||
### Set preference
|
### Set preference
|
||||||
jq --arg variable $CUSTOMUI '.theme = $variable' /config/ubooquity/preferences.json | sponge /config/ubooquity/preferences.json
|
jq --arg variable $CUSTOMUI '.theme = $variable' /config/ubooquity/preferences.json | sponge /config/ubooquity/preferences.json
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user