Commit Graph

22 Commits

Author SHA1 Message Date
Martin Wimpress a8ada5a40a refactor: adapt parseWgetProgress to parseCurlProgress
Since Quickemu 4.9.3 quickget downloads everything except Ubuntu daily images with curl, via the web_get() function internal to quickget.

This change adapts the progress parsing to curl's progress output and accounts for a bug in quickget where it stopped reporting if wget/curl is the external download tool.
2024-06-26 17:32:44 +01:00
Martin Wimpress 7a21dd2898 chore: drop parseAriaProgress 2024-06-26 17:32:44 +01:00
Martin Wimpress 9d596b6acc chore: drop parseMacRecoveryProgress 2024-06-26 17:32:44 +01:00
Yannick Mauray f23dae3118
Fixed : notification text. 2022-02-24 23:40:55 +01:00
Yannick Mauray 42b38412a9
Compatibility with aria2c 2022-02-24 23:26:15 +01:00
Yannick Mauray 0837bf9d80
Source code formated at 80 columns. 2021-12-21 22:17:04 +01:00
Ben Hall 35f11fbf67
Simple check for negative process.exitCode when active download is cancelled re #41 (#42)
* slight improvements to italian

* some corrections thanks to Alessandro Volturno

* consistently dithering is better than inconsistency

* Simple check for negative process.exitCode when active download is cancelled re #41

* added cancel download to pot

* Suggested translations added to existing lanquages

* First addition missed the italian evolution

Co-authored-by: Phil Clifford <philip.clifford@gmail.com>
Co-authored-by: Yannick Mauray <yannick.mauray@gmail.com>
2021-12-09 21:42:42 +01:00
Yannick Mauray bd1fa1b937
Fixed various i18n issues 2021-11-14 21:58:37 +01:00
Yannick Mauray 533742f41f
Changed : using gettext_i18n instead of embedding the code. 2021-11-14 21:31:26 +01:00
Yannick Mauray fb22a0b2d1
Improved i18n 2021-11-14 12:38:46 +01:00
Dani Llewellyn 2008115558
Use local imports, not package imports for our own files (#18)
Following best practice from https://dart.dev/guides/libraries/create-library-packages local imports should not reference our package name, but use relative paths.
2021-11-12 13:27:26 +01:00
Dani Llewellyn 692825c0ee
Add a desktop notification on download complete (#16)
Using the `desktop_notifications` package from Canonical.
2021-11-12 13:18:21 +01:00
Yannick Mauray d1ccc710ce
Internationalization 2021-11-11 16:49:33 +01:00
Ben Hall a9ae0e28fd
Mixin preferences: Refactored shared preferences functions to be generic setters/getters used as a mixin (#2)
* Refactored shared preferences functions to be generic setters/getters using key/values to allow for multiple preferences to be stored. Refactored the shared preferences functions as a mixin for ease of use. Directory change is now remembered across the app pages.

* Added initState() to downloader_menu.dart to fetch prefWorkingDirectory

Co-authored-by: ElanMan <ben@elanman.com>
2021-11-05 01:52:58 +01:00
Yannick Mauray b537c74b21
Implemented "cancel download" button.
Requires PR #165 to be merged in quickemu.
2021-10-27 23:58:20 +02:00
Yannick Mauray 035efc5e32
More refactoring : moves widgets around. 2021-10-27 22:04:39 +02:00
Yannick Mauray 2c00135a59
Refactoring : extracted many widgets from downloader 2021-10-27 21:56:29 +02:00
Yannick Mauray 08c2152145
Target directory can be changed. 2021-10-27 21:37:17 +02:00
Yannick Mauray 334cd71b37
Code cleanup 2021-10-27 21:36:29 +02:00
Yannick Mauray 51b6d576a0
fix : progress bar for macrecovery and wget, graceful fallback for zsync 2021-10-27 20:57:49 +02:00
Yannick Mauray efd6125425
Compatibility with quicksync 2021-10-21 23:54:27 +02:00
Yannick Mauray 2f27c161cf
New downloader, with progress indicator. 2021-10-21 02:49:32 +02:00