mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-28 02:30:05 +00:00
Introjucer: now ignores spurious OSX command-line arguments
This commit is contained in:
parent
9f4265a5d9
commit
52f7a9c0f4
1 changed files with 3 additions and 1 deletions
|
|
@ -116,7 +116,9 @@ public:
|
|||
|
||||
virtual void initialiseWindows (const String& commandLine)
|
||||
{
|
||||
if (commandLine.trim().isNotEmpty() && ! commandLine.trim().startsWithChar ('-'))
|
||||
const String commandLineWithoutNSDebug (commandLine.replace ("-NSDocumentRevisionsDebugMode YES", ""));
|
||||
|
||||
if (commandLineWithoutNSDebug.trim().isNotEmpty() && ! commandLineWithoutNSDebug.trim().startsWithChar ('-'))
|
||||
anotherInstanceStarted (commandLine);
|
||||
else
|
||||
mainWindowList.reopenLastProjects();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue