diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2021-01-09 15:22:27 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2021-01-09 15:22:27 -0500 |
| commit | 602790e2ca33ad7f22235bf2ae548cef7db8b814 (patch) | |
| tree | f79fc9a7f6e019a3f2a774e13d030937b3ae9f86 /cmd/web/download.go | |
| parent | e31c9168627c040317e5cc8566724f88910439ae (diff) | |
| download | steam-export-602790e2ca33ad7f22235bf2ae548cef7db8b814.tar.gz steam-export-602790e2ca33ad7f22235bf2ae548cef7db8b814.tar.xz | |
Add a progress bar to the UI for installation via HTTP. Uses polling, but whatever.
Diffstat (limited to 'cmd/web/download.go')
| -rw-r--r-- | cmd/web/download.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/web/download.go b/cmd/web/download.go index 1c70717..a47d88c 100644 --- a/cmd/web/download.go +++ b/cmd/web/download.go @@ -38,7 +38,6 @@ func gameDownloader(w http.ResponseWriter, r *http.Request) { }() var total int64 - start := time.Now() for { n, err := io.CopyN(w, rdr, 256*1024*1024) |
