Browse Source

Added a tooltip warning against using 4 segment version numbers for AU and AUv3 plug-ins

tags/2021-05-28
Tom Poole 6 years ago
parent
commit
1d92f9c9d0
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      extras/Projucer/Source/Project/jucer_Project.cpp

+ 3
- 2
extras/Projucer/Source/Project/jucer_Project.cpp View File

@@ -909,7 +909,8 @@ void Project::createPropertyEditors (PropertyListBuilder& props)
"The name of the project.");
props.add (new TextPropertyComponent (versionValue, "Project Version", 16, false),
"The project's version number, This should be in the format major.minor.point[.point]");
"The project's version number. This should be in the format major.minor.point[.point] where you should omit the final "
"(optional) [.point] if you are targetting AU and AUv3 plug-ins as they only support three number versions.");
props.add (new TextPropertyComponent (companyNameValue, "Company Name", 256, false),
"Your company name, which will be added to the properties of the binary where possible");
@@ -1106,7 +1107,7 @@ int Project::getVersionAsHexInteger() const
+ (segments[1].getIntValue() << 8)
+ segments[2].getIntValue();
if (segments.size() >= 4)
if (segments.size() > 3)
value = (value << 8) + segments[3].getIntValue();
return value;


Loading…
Cancel
Save