1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Introjucer: command line warning fix.

This commit is contained in:
jules 2013-11-19 10:29:01 +00:00
parent cdacae9cbb
commit 5c98d8f48f

View file

@ -226,12 +226,17 @@ void Project::warnAboutOldIntrojucerVersion()
available.scanAllKnownFolders (*this);
if (isAnyModuleNewerThanIntrojucer (available.modules))
AlertWindow::showMessageBoxAsync (AlertWindow::WarningIcon,
"Introjucer",
"This version of the introjucer is out-of-date!"
"\n\n"
"Always make sure that you're running the very latest version, "
"preferably compiled directly from the JUCE repository that you're working with!");
{
if (IntrojucerApp::getApp().isRunningCommandLine)
std::cout << "WARNING! This version of the introjucer is out-of-date!" << std::endl;
else
AlertWindow::showMessageBoxAsync (AlertWindow::WarningIcon,
"Introjucer",
"This version of the introjucer is out-of-date!"
"\n\n"
"Always make sure that you're running the very latest version, "
"preferably compiled directly from the JUCE repository that you're working with!");
}
}
//==============================================================================