Skip to content
This repository was archived by the owner on Feb 9, 2022. It is now read-only.

Commit e33236d

Browse files
ExplvExplv
authored andcommitted
Fix bug when downloading latest osbot client. Version v2.0.7
1 parent b185ecc commit e33236d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.target/
2+
*.iml
3+
.idea/
4+

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.explv.explv_osbot_manager</groupId>
88
<artifactId>explv_osbot_manager</artifactId>
9-
<version>v2.0.6</version>
9+
<version>v2.0.7</version>
1010
<repositories>
1111
<repository>
1212
<id>local-repo</id>

src/main/java/osbot_client/OSBotClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static boolean download() {
6767
FileOutputStream fileOutputStream = new FileOutputStream(outputFile);
6868
fileOutputStream.getChannel().transferFrom(readableByteChannel, 0, Long.MAX_VALUE);
6969

70-
OSBotClient.latestLocalVersion = outputFile.toString();
70+
OSBotClient.latestLocalVersion = filename.get();
7171

7272
return true;
7373
} catch (IOException e) {

0 commit comments

Comments
 (0)