Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Commit

Permalink
更新自动更新
Browse files Browse the repository at this point in the history
  • Loading branch information
chenpuhao committed Feb 6, 2023
1 parent 790ab46 commit c974e5d
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/main/java/CN/Function/Update/Update.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ private static void browse2(String url) throws Exception {
}

public Update() throws Exception {
System.setProperty("https.protocols", "TLSv1");
CheckUpdate checkUpdate = new CheckUpdate();
String result = checkUpdate.CheckUpdate();
File filePath = new File("download");
Expand Down
1 change: 1 addition & 0 deletions src/main/java/EN/Function/Update/Update.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ private static void browse2(String url) throws Exception {
}

public Update() throws Exception {
System.setProperty("https.protocols", "TLSv1");
CheckUpdate checkUpdate = new CheckUpdate();
String result = checkUpdate.CheckUpdate();
File filePath = new File("download");
Expand Down
1 change: 1 addition & 0 deletions src/main/java/RUS/Function/Update/Update.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ private static void browse2(String url) throws Exception {
}

public Update() throws Exception {
System.setProperty("https.protocols", "TLSv1");
CheckUpdate checkUpdate = new CheckUpdate();
String result = checkUpdate.CheckUpdate();
File filePath = new File("download");
Expand Down
Binary file removed target/DesktopAide-3.2.x-1.0-SNAPSHOT.jar
Binary file not shown.
Binary file modified target/DesktopAide.exe
Binary file not shown.
Binary file modified target/classes/CN/Function/Update/CheckUpdate.class
Binary file not shown.
Binary file modified target/classes/CN/Function/Update/Update.class
Binary file not shown.
Binary file modified target/classes/CN/UI/Main.class
Binary file not shown.
6 changes: 3 additions & 3 deletions target/maven-archiver/pom.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Created by Apache Maven 3.8.1
artifactId=DesktopAide-3.2.x
groupId=org.example
version=1.0-SNAPSHOT
artifactId=DesktopAide
groupId=me.chenpuhao
version=3.4.0

0 comments on commit c974e5d

Please sign in to comment.