mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 10:30:44 +01:00
using accessors for version number
This commit is contained in:
@@ -345,7 +345,7 @@ public class Commander implements RunnerListener {
|
||||
|
||||
static void printCommandLine(PrintStream out) {
|
||||
out.println();
|
||||
out.println("Command line edition for Processing " + Base.VERSION_NAME + " (Java Mode)");
|
||||
out.println("Command line edition for Processing " + Base.getVersionName() + " (Java Mode)");
|
||||
out.println();
|
||||
out.println("--help Show this help text. Congratulations.");
|
||||
out.println();
|
||||
|
||||
@@ -1529,7 +1529,7 @@ public class JavaBuild {
|
||||
|
||||
String contents =
|
||||
"Manifest-Version: 1.0\n" +
|
||||
"Created-By: Processing " + Base.VERSION_NAME + "\n" +
|
||||
"Created-By: Processing " + Base.getVersionName() + "\n" +
|
||||
"Main-Class: " + sketch.getName() + "\n"; // TODO not package friendly
|
||||
zos.write(contents.getBytes());
|
||||
zos.closeEntry();
|
||||
|
||||
Reference in New Issue
Block a user