From 22c3135352dbdbfb99c63bf8c62e5c79706339cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BB=BA=E5=9B=BD?= Date: Mon, 10 Feb 2025 14:28:33 +0800 Subject: [PATCH 1/2] =?UTF-8?q?perf(ui):=20=E4=BC=98=E5=8C=96=20FlatDarcul?= =?UTF-8?q?aLaf=20=E7=9A=84=E5=8A=A0=E8=BD=BD=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 UIManager.setLookAndFeel 替换为 FlatDarculaLaf.setup() - 移除 flatlaf 依赖中的 no-natives 分类器 --- pom.xml | 1 - src/main/java/org/aohe/Main.java | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 8453329..262c380 100644 --- a/pom.xml +++ b/pom.xml @@ -52,7 +52,6 @@ com.formdev flatlaf 3.4.1 - no-natives ch.qos.logback diff --git a/src/main/java/org/aohe/Main.java b/src/main/java/org/aohe/Main.java index d0e6cd7..67560ed 100644 --- a/src/main/java/org/aohe/Main.java +++ b/src/main/java/org/aohe/Main.java @@ -22,7 +22,8 @@ public class Main { public static void main(String[] args) throws Exception { AppLocker locker = AppLocker.create("aoheSaneServiceLock").setPath(Paths.get(JAVA_IO_TMPDIR)).build(); - UIManager.setLookAndFeel(new FlatDarculaLaf()); + FlatDarculaLaf.setup(); + //UIManager.setLookAndFeel(new FlatDarculaLaf()); try { locker.lock(); }catch (Exception e){ From ef7dc000abec67f128d2baefd29d7d66c7781ef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BB=BA=E5=9B=BD?= Date: Mon, 10 Feb 2025 14:30:48 +0800 Subject: [PATCH 2/2] =?UTF-8?q?build(twain-service):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7=E8=87=B3=200.1.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改 buildNumber.properties 文件,将 buildNumber 从 1增加到 2 - 更新 pom.xml 文件,将 twain-service 的版本号从 0.1.4 改为 0.1.5 --- buildNumber.properties | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildNumber.properties b/buildNumber.properties index 7f6d281..5ffb689 100644 --- a/buildNumber.properties +++ b/buildNumber.properties @@ -1,3 +1,3 @@ #maven.buildNumber.plugin properties file #Wed Feb 21 16:14:03 CST 2024 -buildNumber=1 +buildNumber=2 diff --git a/pom.xml b/pom.xml index 262c380..da8a7a7 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.aohe twain-service - 0.1.4 + 0.1.5 8