From 28cc3785758ce5927c76d8b805ad1224d2735944 Mon Sep 17 00:00:00 2001 From: Lothar Haeger Date: Mon, 30 Dec 2019 21:24:04 +0100 Subject: [PATCH] Use native file dialogs in macOS This is a Java port of Jianhua Feng's earlier Groovy-PR (https://github.com/java-decompiler/jd-gui/pull/180) --- app/src/main/java/org/jd/gui/util/sys/SystemUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/jd/gui/util/sys/SystemUtils.java b/app/src/main/java/org/jd/gui/util/sys/SystemUtils.java index 3a73ba5e..6a75c591 100644 --- a/app/src/main/java/org/jd/gui/util/sys/SystemUtils.java +++ b/app/src/main/java/org/jd/gui/util/sys/SystemUtils.java @@ -5,7 +5,7 @@ */ public final class SystemUtils { - static boolean isLinux() { + public static boolean isLinux() { return System.getProperty("os.name").startsWith("Linux"); }