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:
parent
cdacae9cbb
commit
5c98d8f48f
1 changed files with 11 additions and 6 deletions
|
|
@ -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!");
|
||||
}
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue