Skip to content

Commit d0e6f28

Browse files
committed
when doing Save As, don't included exported applications
1 parent c15da13 commit d0e6f28

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

app/src/processing/app/Platform.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,9 @@ static public String getVariant() {
220220
{ "linux-aarch64", "Linux (Raspberry Pi 64-bit)" }
221221
});
222222

223+
/**
224+
* List of variants that are supported by this release of the PDE.
225+
*/
223226
static public StringDict getSupportedVariants() {
224227
return supportedVariants;
225228
}

java/src/processing/mode/java/JavaMode.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,8 @@ public String[] getExtensions() {
8282

8383

8484
public String[] getIgnorable() {
85-
return new String[] {
86-
"applet",
87-
"application.macosx",
88-
"application.windows",
89-
"application.linux"
90-
};
85+
// folder names for exported applications
86+
return Platform.getSupportedVariants().keyArray();
9187
}
9288

9389

todo.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ X remove anachronistic Preferences.save() that happens after opening a sketch
55
X change cmd-click in window title to point to sketch folder
66
X prevent NullPointerException on first use of Export to Application
77
X only showed up if no checkboxes were clicked
8+
X when doing Save As, don't included exported applications
89

910
change detector
1011
X text in second line of custom dialogs was showing too large
@@ -27,7 +28,6 @@ X Interface problems when moving to a monitor with Windows scaling to 125%
2728
X https://github.com/processing/processing4/issues/296
2829

2930

30-
_ when doing Save As, don't included exported applications
3131

3232
_ interface zoom now conflicting with the Java 9+ defaults
3333
_ things look terrible (tiny fonts) on Windows, adjusting has weird effects

0 commit comments

Comments
 (0)