First post, by u_fan
Further effort on "headless" DOSBox as a DOS utility emulator. Thanks to help from Dominus I was able to get a svn/lfn merged build on macOS Sierra.
Using
export SDL_VIDEODRIVER=dummy
and "-exit" with a batch script makes the app fairly headless.
However DOSBox steals focus regardless of standard Mac Info.plist settings for background apps/services. I have tried various permutations of LSBackgroundOnly, LSUIElement, LSUIPresentationMode, e.g.
<key>LSBackgroundOnly</key>
<string>True</string>
in Info.plist in the 0.74-1 app bundle but nothing stops the app from stealing focus. I've also tried "touching" the app to make sure it's updated in the system caches and executing the DOSBox MacOS binary from the Terminal command line as well as
open -g /path-to-app/DOSBox
but no luck.
Any ideas?
Thanks