From e1c918a99d96b427a6cf2405c32d6e4777f39f60 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Thu, 30 Apr 2020 14:43:37 -0500 Subject: [PATCH] Brandless mode error on rewrite --- jm-bm.sh | 2 ++ quick_jibri_installer.sh | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/jm-bm.sh b/jm-bm.sh index 6fcc313..2813d38 100644 --- a/jm-bm.sh +++ b/jm-bm.sh @@ -44,7 +44,9 @@ sed -i "s|jitsilogo.png|watermark2.png|g" $TITLE_FILE sed -i "s|logo-deep-linking.png|watermark2.png|g" $BUNDLE_JS #Disable logo and url +if [ -z $(grep -nr ".leftwatermark{display:none" $CSS_FILE) ]; then sed -i "s|.leftwatermark{|.leftwatermark{display:none;|" $CSS_FILE +fi #Customize room title sed -i "s|Jitsi Meet|$APP_NAME|g" $TITLE_FILE diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index 925fdb4..9335655 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -107,7 +107,7 @@ echo ' Featuring: - Jibri Recording and YouTube Streaming - Jibri Recordings Access via Nextcloud -- Jigasi Transcription +- Jigasi Transcription (Advanced) - Customized brandless mode - Recurring changes updater @@ -168,6 +168,7 @@ echo " # Install Jitsi Framework #-------------------------------------------------- " +echo "set jitsi-meet/cert-choice select Generate a new self-signed certificate (You will later get a chance to obtain a Let's encrypt certificate)" | debconf-set-selections apt-get -y install \ jitsi-meet \ jibri \ @@ -260,6 +261,7 @@ JB_NAME="Jibri Sessions" LE_RENEW_LOG="/var/log/letsencrypt/renew.log" MOD_LISTU="https://prosody.im/files/mod_listusers.lua" MOD_LIST_FILE="/usr/lib/prosody/modules/mod_listusers.lua" +ENABLE_SA="yes" #Language echo "## Setting up Jitsi Meet language ## You can define the language, for a complete list of the supported languages @@ -566,7 +568,9 @@ https://github.com/switnet-ltd/quick-jibri-installer/issues fi # Recording directory +if [ ! -d $DIR_RECORD ]; then mkdir $DIR_RECORD +fi chown -R jibri:jibri $DIR_RECORD cat << REC_DIR > $REC_DIR