Skip to content

Commit

Permalink
1.0.3 <=> version update bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mynttt committed May 17, 2021
1 parent 6ec9046 commit e5e5345
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion updatetool-gui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ plugins {
id 'eclipse'
}

version = '1.0.2'
version = '1.0.3'
sourceCompatibility = '11'

new File(projectDir, "src/main/resources/VERSION").text = version;
Expand Down
2 changes: 1 addition & 1 deletion updatetool-gui/src/main/java/updatetool/gui/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private void checkVersion() throws Exception {
if(!version.equals(v) || !Files.exists(APPLICATION_CONFIG.resolve("tool.jar"))) {
runLater(() -> log.appendText("Version not up to date. Downloading: " + v + "\n"));
runLater(() -> status.setText("Tool download..."));
download(String.format(JAR, version, version), APPLICATION_CONFIG.resolve("tool.jar"));
download(String.format(JAR, v, v), APPLICATION_CONFIG.resolve("tool.jar"));
Files.writeString(APPLICATION_CONFIG.resolve("V"), v, StandardCharsets.UTF_8);
runLater(() -> log.appendText("Download completed.\n"));
} else {
Expand Down

0 comments on commit e5e5345

Please sign in to comment.