1
0
mirror of synced 2026-01-12 00:42:56 +00:00

Temporary fix in medley.sh to work around Issue #1685. Applies to cygwin only. (#1686)

Temp fix in medley.sh to work around issue #1685.  Applies to cygwin only.
This commit is contained in:
Frank Halasz 2024-04-30 07:18:25 -07:00 committed by GitHub
parent 837f4029fe
commit 2dfb1b71f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,11 +135,19 @@ then
fi
mkdir -p ${LOGINDIR}/vmem
# temp fix for cygwin to workaround issue #1685
# 2024-04-29
MEDLEYDIR_BASE="${MEDLEYDIR}"
if [ "$(uname -s | head --bytes 6)" = "CYGWIN" ]
then
MEDLEYDIR="${MEDLEYDIR}/"
fi
# Call run-medley with or without vnc
if [[ ( ${darwin} = true ) || (( ${wsl} = false || ${use_vnc} = false ) && ${docker} = false) ]];
then
# If not using vnc, just call run-medley
${MEDLEYDIR}/run-medley -id "${run_id}" -title "${title}" ${geometry} ${screensize} ${run_args[@]}
${MEDLEYDIR_BASE}/run-medley -id "${run_id}" -title "${title}" ${geometry} ${screensize} ${run_args[@]}
else
# do the vnc thing on wsl or docker
source ${SCRIPTDIR}/medley_vnc.sh