FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

only export a single platform bit-wise · h2oop/processing@d81c769 · GitHub

Repository navigation

Commit d81c769

Browse files
committed
only export a single platform bit-wise
1 parent 8cfc6fe commit d81c769

3 files changed

Lines changed: 14 additions & 11 deletions

File tree

‎app/src/processing/mode/java/JavaBuild.java‎

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,15 +1119,18 @@ protected boolean exportApplication() throws IOException, SketchException {
11191119
File folder = null;
11201120
String platformName = Base.getPlatformName();
11211121
if (Library.hasMultipleArch(PApplet.platform, importedLibraries)) {
1122-
// export the 32-bit version
1123-
folder = new File(sketch.getFolder(), "application." + platformName + "32");
1124-
if (!exportApplication(folder, PApplet.platform, 32)) {
1125-
return false;
1126-
}
1127-
// export the 64-bit version
1128-
folder = new File(sketch.getFolder(), "application." + platformName + "64");
1129-
if (!exportApplication(folder, PApplet.platform, 64)) {
1130-
return false;
1122+
if (Base.getNativeBits() == 32) {
1123+
// export the 32-bit version
1124+
folder = new File(sketch.getFolder(), "application." + platformName + "32");
1125+
if (!exportApplication(folder, PApplet.platform, 32)) {
1126+
return false;
1127+
}
1128+
} else if (Base.getNativeBits() == 64) {
1129+
// export the 64-bit version
1130+
folder = new File(sketch.getFolder(), "application." + platformName + "64");
1131+
if (!exportApplication(folder, PApplet.platform, 64)) {
1132+
return false;
1133+
}
11311134
}
11321135
} else { // just make a single one for this platform
11331136
folder = new File(sketch.getFolder(), "application." + platformName);

‎core/todo.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
0222 core
1+
0222 core (2.1b1)
22
X background color for present mode has no effect
33
X https://github.com/processing/processing/issues/2071
44
X https://github.com/processing/processing/pull/2072

‎todo.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
0222 pde
1+
0222 pde (2.1b1)
22
X MovieMaker needs to be compiling as 1.6
33
X deal with null/missing folders for Tools and Modes
44
X https://github.com/processing/processing/issues/2068

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL