* fix: Add lint and remove all unwraps from lib.rs
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Remove all unwraps from util.rs and add state_lock macro
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Add CacheError and remove unwraps from fetch_object
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Remove unwraps from fetch_object and server_proto
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Remove unwraps from auth.rs
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Remove unwraps from process_handlers
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Clippy unwrap linting
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Remove lint
Because not everything is actually resolved yet: will be resolved with a restructure of the library
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Make the rest of clippy happy
Signed-off-by: quexeky <git@quexeky.dev>
* fix: Send download signal instead of triggering self.on_error
Signed-off-by: quexeky <git@quexeky.dev>
* fix: Corrupted state should panic
Signed-off-by: quexeky <git@quexeky.dev>
* fix: Use debug instead of display for specific errors
Signed-off-by: quexeky <git@quexeky.dev>
* fix: Settings now log error instead of panicking
Signed-off-by: quexeky <git@quexeky.dev>
---------
Signed-off-by: quexeky <git@quexeky.dev>
* feat: add new template options, asahi support, and refactoring
* feat: install dir scanning, validation fixes, progress fixes, download manager refactor
This kind of ballooned out of scope, but I implemented some much
needed fixes for the download manager.
First off, I cleanup the Downloadable trait, there was some
duplication of function.
Second, I refactored the "validate" into the GameDownloadAgent,
which calls a 'validate_chunk_logic' yada, same structure as
downloading.
Third, I fixed the progress and validation issues.
Fourth, I added game scanning
* feat: out of box support for Asahi Linux
* fix: clippy
* fix: don't break database
* chore: Progress on amend_settings command
Signed-off-by: quexeky <git@quexeky.dev>
* chore(errors): Progress on better error handling with segragation of files
* chore: Progress on amend_settings command
Signed-off-by: quexeky <git@quexeky.dev>
* chore(commands): Separated commands under each subdirectory into respective commands.rs files
Signed-off-by: quexeky <git@quexeky.dev>
* chore(errors): Almost all errors and commands have been segregated
* chore(errors): Added drop server error
Signed-off-by: quexeky <git@quexeky.dev>
* feat(core): Update to using nightly compiler
Signed-off-by: quexeky <git@quexeky.dev>
* chore(errors): More progress on error handling
Signed-off-by: quexeky <git@quexeky.dev>
* chore(errors): Implementing Try and FromResidual for UserValue
Signed-off-by: quexeky <git@quexeky.dev>
* refactor(errors): Segregated errors and commands from code, and made commands return UserValue struct
Signed-off-by: quexeky <git@quexeky.dev>
* fix(errors): Added missing files
* chore(errors): Convert match statement to map_err
* feat(settings): Implemented settings editing from UI
* feat(errors): Clarified return values from retry_connect command
* chore(errors): Moved autostart commands to autostart.rs
* chore(process manager): Converted launch_process function for games to use game_id
---------
Signed-off-by: quexeky <git@quexeky.dev>