fdroidcl icon indicating copy to clipboard operation
fdroidcl copied to clipboard

Feature request: Can you please add a progress bar?

Open pitsi opened this issue 5 years ago • 2 comments

I made my first installation/upgrade earlier on bromite with fdroidcl and it worked perfectly as you can see from its output below.

$ fdroidcl install org.bromite.bromite
Downloading https://fdroid.bromite.org/fdroid/repo/rel_83.0.4103.101_arm64_ChromeModernPublic.apk... done
Installing org.bromite.bromite

It took some time to download the apk, since I am on an 8Mbps connection, so I thought it was stuck at first. So, can you please add a progress bar, preferably for both the download and the installation process?

Thank you in advance.

pitsi avatar Jun 11 '20 05:06 pitsi

Sure, patches welcome. There are plenty of Go packages to do this kind of thing, such as https://pkg.go.dev/github.com/schollz/progressbar/v3.

mvdan avatar Jun 14 '20 16:06 mvdan

I am the wrong guy for the job, because I am really bad at programming. I would appreciate if someone else could do it and I will do the testing.

pitsi avatar Jun 14 '20 17:06 pitsi

Should work now with https://github.com/mvdan/fdroidcl/releases/tag/v0.6.0.

Linus789 avatar Jan 12 '23 22:01 Linus789