diff --git a/bin/seagl-setup-app b/bin/seagl-setup-app index b08932b..99c6b2e 100755 --- a/bin/seagl-setup-app +++ b/bin/seagl-setup-app @@ -31,7 +31,7 @@ function get_config_value() { if [ "$arg" == obs ]; then keyset=$(cat /var/lib/seagl/rtmp-keyset) rtmp_key=$(get_config_value .rtmpKeys.$keyset.$(cat /var/lib/seagl/room-id)) - sed -i "s/__YOUTUBE_STREAM_KEY__/$rtmp_key/" ~/.var/app/com.obsproject.Studio/basic/profiles/Untitled/service.json + sed -i "s/__YOUTUBE_STREAM_KEY__/$rtmp_key/" ~/.var/app/com.obsproject.Studio/config/obs-studio/basic/profiles/Untitled/service.json start_and_link_app com.obsproject.Studio elif [ "$arg" == nextcloud ]; then nextcloud --userid 2024laptops --apppassword "$(get_config_value .nextcloudAppPassword)" --isvfsenabled 0 --serverurl 'https://cloud.seagl.org/' --localdirpath /home/seagloperator/Nextcloud