修复部分已知问题
This commit is contained in:
parent
b707d04c97
commit
85ea14d10a
@ -1,5 +0,0 @@
|
|||||||
[]
|
|
||||||
tokenText = 77190dd0a59a45b0883650647b85522d
|
|
||||||
pathText = C:\Users\Administrator\Desktop\HKBTest
|
|
||||||
folderText = backtest
|
|
||||||
backType = 0
|
|
6
pom.xml
6
pom.xml
@ -36,7 +36,11 @@
|
|||||||
<version>5.6.5</version>
|
<version>5.6.5</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.formdev</groupId>
|
||||||
|
<artifactId>flatlaf</artifactId>
|
||||||
|
<version>0.26</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
@ -94,7 +94,7 @@ public class AliYunPan extends JFrame implements ActionListener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//设置显示窗口标题
|
//设置显示窗口标题
|
||||||
setTitle("备份助手");
|
setTitle("阿里云盘备份工具");
|
||||||
//设置标题栏的图标
|
//设置标题栏的图标
|
||||||
this.setIconImage(new ImageIcon(getClass().getResource("/images/logo.png")).getImage());
|
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("选择目录");
|
JLabel pathTitle = new JLabel("选择目录");
|
||||||
pathText = new JTextField();
|
pathText = new JTextField();
|
||||||
JLabel tokenTitle = new JLabel("阿里云Token");
|
JLabel tokenTitle = new JLabel("Token");
|
||||||
//tokenText = new JTextField();
|
//tokenText = new JTextField();
|
||||||
JLabel folderTitle = new JLabel("备份目录名称");
|
JLabel folderTitle = new JLabel("备份目录名称");
|
||||||
folderText = new JTextField();
|
folderText = new JTextField();
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
package com.eg.www;
|
package com.eg.www;
|
||||||
|
|
||||||
import cn.hutool.cron.CronUtil;
|
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 class App {
|
||||||
public static void main( String[] args ) {
|
public static void main( String[] args ) {
|
||||||
|
|
||||||
|
FlatDarculaLaf.install();
|
||||||
|
|
||||||
//加载UI
|
//加载UI
|
||||||
new AliYunPan();
|
new AliYunPan();
|
||||||
//开启定时
|
//开启定时
|
||||||
|
@ -10,11 +10,6 @@ import java.awt.*;
|
|||||||
*/
|
*/
|
||||||
public class MyConsole extends JTextArea {
|
public class MyConsole extends JTextArea {
|
||||||
public MyConsole() {
|
public MyConsole() {
|
||||||
String info="温馨提示:备份目录名称是要备份到阿里云盘那个目录下(不存在则自动创建)\n";
|
|
||||||
info+="普通备份:会按本地目录结构上传文件\n";
|
|
||||||
info+="分类备份:会将本地文件按文档、压缩包、软件、音乐、图片、视频等分类上传\n";
|
|
||||||
info+="运行日志...\n";
|
|
||||||
this.setText(info);
|
|
||||||
this.setForeground(Color.white);
|
this.setForeground(Color.white);
|
||||||
this.setBackground(Color.BLACK);
|
this.setBackground(Color.BLACK);
|
||||||
//启动自动换行
|
//启动自动换行
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
target/classes/com/eg/www/common/utils/getToken.class
Normal file
BIN
target/classes/com/eg/www/common/utils/getToken.class
Normal file
Binary file not shown.
@ -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
|
|
Loading…
Reference in New Issue
Block a user