Skip to content

Commit

Permalink
Fix the issue related to open windows (#9722)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksimZhukov committed Apr 23, 2024
1 parent 22940f4 commit 30f313b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions images/macos/scripts/build/configure-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ while [[ $retry -gt 0 ]]; do
fi
sleep 30
done
IFS=',' read -r -a windowslist <<< $openwindows
IFS=',' read -r -a windowslist <<< "$openwindows"

if [[ -n ${openwindows} ]]; then
echo "Found opened window:"
fi

for window in ${windowslist[@]}; do
if [[ $window =~ "NotificationCenter" ]]; then
echo "[Warning] $window"
for key in ${!windowslist[@]}; do
if [[ ${windowslist[$key]} =~ "NotificationCenter" ]]; then
echo "[Warning] ${windowslist[$key]}"
else
echo " - ${window}" | xargs
echo " - ${windowslist[$key]}" | xargs
scripterror=true
fi
done
Expand Down

0 comments on commit 30f313b

Please sign in to comment.