Commit 2ae38465 authored by alex@thinkpad's avatar alex@thinkpad
Browse files on Mac, bring QEMU window to foreground

(by default, the window is opened behind the terminal, so one may not even notice it)

branch : qemu
parent e84ed9e23efe
......@@ -88,6 +88,12 @@ else
echo "DebugMsg=$QEMU_EOS_DEBUGMSG (overriden)"
# Mac: bring QEMU window to foreground
# fixme: easier way?
if [ -t 1 ] && [ $(uname) == "Darwin" ]; then
( sleep 0.5; osascript -e 'tell application "System Events" to tell process qemu-system-arm to set frontmost to true' ) &
# run the emulation
$QEMU_PATH/arm-softmmu/qemu-system-arm \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment