diff --git a/back_config.setting b/back_config.setting
index 76a9bd3..e69de29 100644
--- a/back_config.setting
+++ b/back_config.setting
@@ -1,5 +0,0 @@
-[]
-tokenText = 77190dd0a59a45b0883650647b85522d
-pathText = C:\Users\Administrator\Desktop\HKBTest
-folderText = backtest
-backType = 0
diff --git a/pom.xml b/pom.xml
index 8c564d9..cc3f7db 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,7 +36,11 @@
5.6.5
-
+
+ com.formdev
+ flatlaf
+ 0.26
+
diff --git a/src/main/java/com/eg/www/AliYunPan.java b/src/main/java/com/eg/www/AliYunPan.java
index f7a9096..a16f522 100644
--- a/src/main/java/com/eg/www/AliYunPan.java
+++ b/src/main/java/com/eg/www/AliYunPan.java
@@ -94,7 +94,7 @@ public class AliYunPan extends JFrame implements ActionListener {
}
}
//设置显示窗口标题
- setTitle("备份助手");
+ setTitle("阿里云盘备份工具");
//设置标题栏的图标
this.setIconImage(new ImageIcon(getClass().getResource("/images/logo.png")).getImage());
//设置窗口显示尺寸
@@ -130,7 +130,7 @@ public class AliYunPan extends JFrame implements ActionListener {
*/
JLabel pathTitle = new JLabel("选择目录");
pathText = new JTextField();
- JLabel tokenTitle = new JLabel("阿里云Token");
+ JLabel tokenTitle = new JLabel("Token");
//tokenText = new JTextField();
JLabel folderTitle = new JLabel("备份目录名称");
folderText = new JTextField();
diff --git a/src/main/java/com/eg/www/App.java b/src/main/java/com/eg/www/App.java
index 865020d..10a1aa9 100644
--- a/src/main/java/com/eg/www/App.java
+++ b/src/main/java/com/eg/www/App.java
@@ -1,6 +1,9 @@
package com.eg.www;
import cn.hutool.cron.CronUtil;
+import com.formdev.flatlaf.FlatDarculaLaf;
+
+import javax.swing.*;
/**
* 微信备份程序
@@ -8,6 +11,9 @@ import cn.hutool.cron.CronUtil;
*/
public class App {
public static void main( String[] args ) {
+
+ FlatDarculaLaf.install();
+
//加载UI
new AliYunPan();
//开启定时
diff --git a/src/main/java/com/eg/www/common/MyConsole.java b/src/main/java/com/eg/www/common/MyConsole.java
index c138a7b..a3b2529 100644
--- a/src/main/java/com/eg/www/common/MyConsole.java
+++ b/src/main/java/com/eg/www/common/MyConsole.java
@@ -10,11 +10,6 @@ import java.awt.*;
*/
public class MyConsole extends JTextArea {
public MyConsole() {
- String info="温馨提示:备份目录名称是要备份到阿里云盘那个目录下(不存在则自动创建)\n";
- info+="普通备份:会按本地目录结构上传文件\n";
- info+="分类备份:会将本地文件按文档、压缩包、软件、音乐、图片、视频等分类上传\n";
- info+="运行日志...\n";
- this.setText(info);
this.setForeground(Color.white);
this.setBackground(Color.BLACK);
//启动自动换行
diff --git a/target/classes/com/eg/www/AliYunPan.class b/target/classes/com/eg/www/AliYunPan.class
index 74f2f82..b949832 100644
Binary files a/target/classes/com/eg/www/AliYunPan.class and b/target/classes/com/eg/www/AliYunPan.class differ
diff --git a/target/classes/com/eg/www/App.class b/target/classes/com/eg/www/App.class
index b5720ba..7749e9f 100644
Binary files a/target/classes/com/eg/www/App.class and b/target/classes/com/eg/www/App.class differ
diff --git a/target/classes/com/eg/www/common/MyConsole.class b/target/classes/com/eg/www/common/MyConsole.class
index e0ce80e..0d141b6 100644
Binary files a/target/classes/com/eg/www/common/MyConsole.class and b/target/classes/com/eg/www/common/MyConsole.class differ
diff --git a/target/classes/com/eg/www/common/utils/getToken.class b/target/classes/com/eg/www/common/utils/getToken.class
new file mode 100644
index 0000000..ee6da02
Binary files /dev/null and b/target/classes/com/eg/www/common/utils/getToken.class differ
diff --git a/uploadLog.txt b/uploadLog.txt
index bb4b90b..e69de29 100644
--- a/uploadLog.txt
+++ b/uploadLog.txt
@@ -1,3 +0,0 @@
-C:\Users\Administrator\Desktop\HKBTest\HKBTest.exe
-C:\Users\Administrator\Desktop\HKBTest\Kbhk.dll
-C:\Users\Administrator\Desktop\HKBTest\KE.ini