I am writing a Mac shell script that compiles the map I am creating and then launches it in Quakespasm.app. The terminal command that I am using the launch the app is
This works as expected. But when Quakespasm launches it opens an OSX dialogue box prompting for command line parameters and resolution. I have to click "Start" in order to actually launch the engine itself (I know, first world problems!).
I would like to avoid this unnecessary step since I am already specifying the command line arguments in my script. So my question is:is there a command line argument I can pass to Quakespasm.app that will suppress the launcher dialog and cause the app to launch straight into the engine without prompting for command line options and resolution?
Code:
open /Applications/QuakeSpasm/QuakeSpasm.app --args +map $FIRST_ARGUMENT
I would like to avoid this unnecessary step since I am already specifying the command line arguments in my script. So my question is:is there a command line argument I can pass to Quakespasm.app that will suppress the launcher dialog and cause the app to launch straight into the engine without prompting for command line options and resolution?
Comment