mirror of
https://github.com/winapps-org/winapps.git
synced 2025-08-01 16:36:39 +02:00
Fix readme and check if the custom freeRDP Command is actually existing
This commit is contained in:
@@ -49,7 +49,11 @@ if [ -z "${FREERDP_COMMAND}" ]; then
|
||||
FREERDP_COMMAND="xfreerdp3"
|
||||
fi
|
||||
else
|
||||
dprint "Using custom freerdp command ${FREERDP_COMMAND}"
|
||||
if command -v $FREERDP_COMMAND &> /dev/null
|
||||
dprint "Using custom freerdp command ${FREERDP_COMMAND}"
|
||||
else
|
||||
echo "You have supplied a custom FreeRDP command, but the command is not available."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -z "${RDP_IP}" ]; then
|
||||
|
Reference in New Issue
Block a user