Skip to content

Commit

Permalink
changed author
Browse files Browse the repository at this point in the history
  • Loading branch information
JosueGalRe committed Aug 5, 2022
1 parent d233e8b commit 5a73fb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/hypercubemc/iris_installer/Downloader.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/**
*
* @author SYSTEM
* @author ims
*/
public class Downloader extends SwingWorker<Void, Void> {

Expand Down Expand Up @@ -46,7 +46,7 @@ protected Void doInBackground() throws Exception {
while ((i = in.read(data, 0, 1024)) >= 0) {
totalDataRead = totalDataRead + i;
bout.write(data, 0, i);

int percent = (int) ((totalDataRead * 100) / filesize);

setProgress(percent);
Expand Down

0 comments on commit 5a73fb0

Please sign in to comment.