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 f0f02030cc refactor: update loadOperatingSystems to use quickget --list-csv
- Close #124

`quickemu list_csv` is deprecated and `quickemu --list-csv` provide the same functionality.
2024-06-26 17:32:26 +01:00
Mark Johnson 3c23106d32 Improve OS loading
Rather than waiting for the OS list to load, when the app starts, the
loads them in the background, and only waits if we reach the list of
available downloads without them loaded yet. In this case, we use a
FutureBuilder to display a loading spinner until the list is ready.
2024-06-25 15:25:18 +01:00
Mark Johnson 208d4f8dc9 Fix icon loading
This fixes the loading of OS icons so they are correctly replaced with a
generic computer if no matching icon is found.

It also centralises the loading process so it happens once during app
initialisation, and displays the corresponding icon next to each VM on
the manager screen.
2024-06-25 15:25:18 +01:00
Mark Johnson b1350b825f
Fix deprecations and code style 2024-06-13 16:07:48 +01:00
Yannick Mauray bba41d6938
fix: detect if quickemu is insalled 2022-11-07 22:31:45 +01:00
Yannick Mauray 684a939cf7
Code cleanup 2022-01-04 01:34:07 +01:00
Yannick Mauray c00526a5be
Added: settings entry to switch the locale dynamically. 2021-12-10 00:37:17 +01:00
Yannick Mauray bd1fa1b937
Fixed various i18n issues 2021-11-14 21:58:37 +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
Yannick Mauray 6f6bc29a72
Initial support for localization 2021-11-11 02:03:56 +01:00
Yannick Mauray f72e025817
Fixed version number in settings menu, added theme switcher. 2021-11-09 22:32:08 +01:00
Yannick Mauray e278ac7f6e
Prevent crash if quickget produces more than 5 columns in CSV 2021-11-08 00:33:41 +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 9ab0f54f14
Getting ready for The Big Merge©®️™! 2021-10-28 00:58:14 +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 0a2fe5b032
Support for the "downloader" field from `quickget list_csv` 2021-10-27 18:04:55 +02:00
Yannick Mauray 4cd8e168df
Use the new valid CSV format from `quickget list_csv` 2021-10-20 02:02:20 +02:00
Yannick Mauray 5788e1fa9e
Support for `quickget list`, including options. 2021-10-20 01:30:11 +02:00
Yannick Mauray 0e082ac402
WIP 2021-10-19 15:13:50 +02:00
Yannick Mauray 9c564d7e8c
Getting close to initial release 2021-10-16 14:58:44 +02:00
Yannick Mauray 09104a1f9c
Initial commit 2021-10-09 09:20:17 +02:00