Use the version number if they've left the prettyVersion field blank

This commit is contained in:
Ben Fry
2016-11-03 10:10:04 -04:00
parent 35e4381cfb
commit b14eb9d389
3 changed files with 16 additions and 0 deletions
@@ -86,7 +86,11 @@ public abstract class LocalContribution extends Contribution {
System.err.println("Please contact the library author to fix it according to the guidelines.");
}
// Use the version number if they've left the prettyVersion field blank
prettyVersion = properties.get("prettyVersion");
if (prettyVersion == null || prettyVersion.length() == 0) {
prettyVersion = Integer.toString(version);
}
try {
lastUpdated = Long.parseLong(properties.get("lastUpdated"));
+5
View File
@@ -1,6 +1,11 @@
0255 (3.2.3 or 3.3)
andres
X automatic detection of POINT and LINE shaders fails
X https://github.com/processing/processing/issues/4725
_ TRIANGLE_STRIP not working correctly with createShape() and default renderer
_ https://github.com/processing/processing/issues/4678
+7
View File
@@ -1,6 +1,13 @@
0255 (3.2.3 or 3.3)
X if prettyVersion is blank (or null?), just use version (Firmata)
contribs
_ 'version' should be x.y or x.y.z, not some extra long string
_ enforce this by disallowing spaces? on the import script?
_ why is the updates panel completely empty?
_ was there already a bug filed for this?
_ Application Exports report as "Damaged" on macOS Sierra
_ https://github.com/processing/processing/issues/4705