- Imports cleanup

- Disable system look & feel on macOS for readability
- Cleaned unnecessary space
- Cleaned finished TODO
This commit is contained in:
Stef Tervelde
2025-02-03 12:07:01 +01:00
parent f016cc474c
commit 23c8a4626a
4 changed files with 1 additions and 7 deletions
-2
View File
@@ -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")
-3
View File
@@ -28,9 +28,6 @@ import java.io.IOException;
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;
+1 -1
View File
@@ -56,7 +56,7 @@ import processing.core.PApplet;
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;
@@ -770,7 +770,6 @@ public class JavaBuild {
}
}
// TODO: Handle the java embed and Icon with the new build system
} else if (exportPlatform == PConstants.LINUX) {
if (embedJava) {