Skip to content

Commit

Permalink
[Bug-Fix] Updater bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yellowstrawberrys committed Jul 16, 2023
1 parent f998bb3 commit 21f560d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}
//native-image -jar youtube-cli.jar --no-fallback --enable-url-protocols=https
group = 'xyz.yellowstrawberry'
version = '1.0.1'
version = '1.0.2'

repositories {
mavenCentral()
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/xyz/yellowstrawberry/yotubecli/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,10 @@ private static void update() {
int r;
byte[] bf = new byte[1024];
while ((r=ipt.read(bf)) != -1) {
os.write(bf);
os.write(bf, 0, r);
progressBar.stepBy(r);
}
os.flush();
} catch (IOException e) {
throw new RuntimeException(e);
}finally {
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "1.0.1"
"version": "1.0.2"
}

0 comments on commit 21f560d

Please sign in to comment.