Added manual mode

This commit is contained in:
Fmstrat
2020-11-12 11:30:18 -05:00
committed by Oskar Manhart
parent ab69b30fc6
commit b5f88b3eab
2 changed files with 10 additions and 0 deletions

View File

@@ -74,6 +74,9 @@ fi
if [ "${1}" = "windows" ]; then
xfreerdp /d:"${RDP_DOMAIN}" /u:"${RDP_USER}" /p:"${RDP_PASS}" /v:${RDP_IP} /scale:${RDP_SCALE} /dynamic-resolution +auto-reconnect +home-drive /wm-class:"Microsoft Windows" 1> /dev/null 2>&1 &
elif [ "${1}" = "manual" ]; then
dprint "MANUAL:${2}"
xfreerdp /d:"${RDP_DOMAIN}" /u:"${RDP_USER}" /p:"${RDP_PASS}" /v:${RDP_IP} +auto-reconnect +home-drive -wallpaper /scale:${RDP_SCALE} /dynamic-resolution /${MULTI_FLAG} /app:"${2}" 1> /dev/null 2>&1 &
elif [ "${1}" != "install" ]; then
dprint "DIR:${DIR}"
. "${DIR}/../apps/${1}/info"