Skip to content

Commit

Permalink
- Imports cleanup
Browse files Browse the repository at this point in the history
- Disable system look & feel on macOS for readability
- Cleaned unnecessary space
- Cleaned finished TODO
  • Loading branch information
Stefterv committed Feb 3, 2025
1 parent 8ad60fa commit 420ccbb
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ compose.desktop {
}
entitlementsFile.set(project.file("entitlements.plist"))
runtimeEntitlementsFile.set(project.file("entitlements.plist"))
// Allow swing to use the system look and feel
jvmArgs("-Dapple.awt.application.appearance=system")
}
windows{
iconFile = project.file("../build/windows/processing.ico")
Expand Down
3 changes: 0 additions & 3 deletions app/src/processing/app/Platform.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
import java.lang.management.ManagementFactory;
import java.net.URISyntaxException;
import java.net.URL;
import java.nio.file.*;
import java.nio.file.attribute.BasicFileAttributes;
import java.nio.file.attribute.PosixFilePermission;
import java.util.*;

import com.sun.jna.platform.FileUtils;
Expand Down
2 changes: 1 addition & 1 deletion app/src/processing/app/UpdateCheck.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
public class UpdateCheck {
private final Base base;

static private final String DOWNLOAD_URL = System.getProperty("processing.download.page","https://processing.org/download/");
static private final String DOWNLOAD_URL = System.getProperty("processing.download.page","https://processing.org/download/");
static private final String LATEST_URL = System.getProperty("processing.download.latest","https://processing.org/download/latest.txt");

static private final long ONE_DAY = 24 * 60 * 60 * 1000;
Expand Down
1 change: 0 additions & 1 deletion java/src/processing/mode/java/JavaBuild.java
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,6 @@ protected boolean exportApplication(File destFolder,
}

}
// TODO: Handle the java embed and Icon with the new build system

} else if (exportPlatform == PConstants.LINUX) {
if (embedJava) {
Expand Down

0 comments on commit 420ccbb

Please sign in to comment.