Removed 'check' from 'winapps' shell script, as this is no longer required prior to installation. Furthermore, 'winapps manual explorer.exe' is an alternative command with equivalent results.

This commit is contained in:
Rohan Barar 2024-07-16 12:10:55 +10:00
parent d67b4ba694
commit 08324b2a75

View File

@ -87,25 +87,7 @@ if [[ -n $RDP_FLAGS ]]; then
FREERDP_COMMAND="$FREERDP_COMMAND $RDP_FLAGS"
fi
if [ "$1" = "check" ]; then
# Open File Explorer
dprint "CHECK"
COMMAND=(
"${FREERDP_COMMAND}"
"/d:${RDP_DOMAIN}"
"/u:${RDP_USER}"
"/p:${RDP_PASS}"
"/scale:${RDP_SCALE}"
"+auto-reconnect"
"+home-drive"
"-wallpaper"
"+dynamic-resolution"
"${MULTI_FLAG}"
"/app:program:explorer.exe"
"/v:${RDP_IP}"
)
"${COMMAND[@]}"
elif [ "$1" = "windows" ]; then
if [ "$1" = "windows" ]; then
# Open Virtual Machine
dprint "WINDOWS"
COMMAND=(