From 0e9ac314bb112b95265b5823adad6b3e0f561ca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Sat, 21 Jul 2018 22:12:27 +0200 Subject: [PATCH] macos: start the terminal, then make the window active, not the other way round --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 68b259a..2f2ce7e 100644 --- a/Makefile +++ b/Makefile @@ -413,8 +413,9 @@ test/macos-sh-x11: test/macos-sh: build/check_makefile \ build/checkerboard_1024x768.png \ | deploy-screenshots - osascript -e 'tell app "Terminal" to activate' osascript -e 'tell app "Terminal" to do script "'"$$PWD"'/os.bat"' + sleep 2 + osascript -e 'tell app "Terminal" to activate' sleep 5 (date +%n && sleep 0.2 && date +%n) || true screencapture deploy-screenshots/screencapture-os-bat.png