rorywalsh / cabbage

Framework for developing audio plugins with the Csound programming language.
http://cabbageaudio.com
GNU General Public License v3.0
509 stars 35 forks source link

Don't open command lines with "--export-" when another instance starts #98

Closed andy-fillebrown closed 4 years ago

andy-fillebrown commented 4 years ago

When an instance of Cabbage is running on MacOS and another instance is started with an --export-* command line parameter, Cabbage assumes the entire command line is a .csd file. When the .csd file is not found Cabbage shows the file open dialog. This change fixes the issue by only opening the command line if "--export-" is not found in it.