Chromium and Chrome TEAMS app launcher script

TEAMS can be launched via script, and it works fairly well in Chromium and Chrome web apps. Package yad must be installed.

Read also https://puolanka.org/goto/fix-open-microsoft-teams-link-on-linux-script/

https://www.puolanka.org/goto/chromium-and-chrome-web-app-launchers/

https://puolanka.org/goto/teams-for-linux/

Chromium web app script: Chromium-TEAMS-app.zip

#!/bin/bash
BOX=`yad --center --width=500 --height=100 --text-align=center --text="Put address to BOX" --entry --entry-label=BOX --entry-text=""`
if [ $? = 0 ];
then
yad --center --no-markup --width=500 --height=100 --text-align=center --text="You put address: $BOX"
chromium --app="$BOX" "$@"
else exit 0
fi

Chrome web app script: Chrome-TEAMS-app

#!/bin/bash
BOX=`yad --center --width=500 --height=100 --text-align=center --text="Put address to BOX" --entry --entry-label=BOX --entry-text=""`
if [ $? = 0 ];
then
yad --center --no-markup --width=500 --height=100 --text-align=center --text="You put address: $BOX"
google-chrome --app="$BOX" "$@"
else exit 0
fi

Works also with convene meetings