From 69f20912d10617cbb4516e8bd4d2f92cac8be25d Mon Sep 17 00:00:00 2001 From: rememberber Date: Fri, 25 Mar 2022 22:45:35 +0800 Subject: [PATCH] change default theme of linux --- pom.xml | 86 +++++++++---------- .../luoboduner/moo/info/util/ConfigUtil.java | 6 +- 2 files changed, 44 insertions(+), 48 deletions(-) diff --git a/pom.xml b/pom.xml index 8047219..2bee1d1 100644 --- a/pom.xml +++ b/pom.xml @@ -134,55 +134,55 @@ io.github.fvarrui javapackager - 1.6.3 + 1.6.5 true com.luoboduner.moo.info.App true - - bundling-for-windows - package - - package - - - windows - true - - - - - true - true - true - - - installForAllUsers - true - false - false - true - - compiler:Default.isl - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bundling-for-linux + package + + package + + + linux + true + + + diff --git a/src/main/java/com/luoboduner/moo/info/util/ConfigUtil.java b/src/main/java/com/luoboduner/moo/info/util/ConfigUtil.java index 283533d..ff4d449 100644 --- a/src/main/java/com/luoboduner/moo/info/util/ConfigUtil.java +++ b/src/main/java/com/luoboduner/moo/info/util/ConfigUtil.java @@ -65,11 +65,7 @@ public void setBeforeVersion(String beforeVersion) { } public String getTheme() { - if (SystemUtil.isLinuxOs()) { - return setting.getStr("theme", "setting.appearance", "System Default"); - } else { - return setting.getStr("theme", "setting.appearance", "Dark purple"); - } + return setting.getStr("theme", "setting.appearance", "Dark purple"); } public void setTheme(String theme) {