mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Minor refactoring for a bit more clarity in the deprecated Xcode post-build script check.
This commit is contained in:
parent
367f6eeb36
commit
59f28855a3
1 changed files with 7 additions and 2 deletions
|
|
@ -309,8 +309,7 @@ public:
|
|||
|
||||
void updateDeprecatedProjectSettingsInteractively() override
|
||||
{
|
||||
// check for an old version of the script from the Introjucer
|
||||
if (MD5 (getPostBuildScript().toUTF8()).toHexString() == "265ac212a7e734c5bbd6150e1eae18a1")
|
||||
if (hasInvalidPostBuildScript())
|
||||
{
|
||||
String alertWindowText = iOS ? "Your Xcode (iOS) Exporter settings use an invalid post-build script. Click 'Update' to remove it."
|
||||
: "Your Xcode (OSX) Exporter settings use a pre-JUCE 4.2 post-build script to move the plug-in binaries to their plug-in install folders.\n\n"
|
||||
|
|
@ -324,6 +323,12 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
bool hasInvalidPostBuildScript() const
|
||||
{
|
||||
// check whether the script is identical to the old one that the Introjucer used to auto-generate
|
||||
return (MD5 (getPostBuildScript().toUTF8()).toHexString() == "265ac212a7e734c5bbd6150e1eae18a1");
|
||||
}
|
||||
|
||||
protected:
|
||||
//==============================================================================
|
||||
class XcodeBuildConfiguration : public BuildConfiguration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue