DecDuck
dbe8c8df4d
Process manager templating & game importing ( #96 )
...
* 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
2025-08-02 20:17:27 +10:00
DecDuck
cc5339a389
Reqwest optionally load certificates from disk ( #94 )
...
* feat: Add get_client function
Signed-off-by: quexeky <git@quexeky.dev >
* chore: Converted all instances of reqwest::blocking::Client::new() and reqwest::Client::new() to DROP_CLIENT_SYNC and DROP_CLIENT_ASYNC respectively
Signed-off-by: quexeky <git@quexeky.dev >
* fix: use_remote_logic not using certificates
Signed-off-by: quexeky <git@quexeky.dev >
* fix: add log statement to certificates
* chore: add more logging
* fix: clippy
* refactor: into single fetch_certificates func
---------
Signed-off-by: quexeky <git@quexeky.dev >
Co-authored-by: quexeky <git@quexeky.dev >
2025-08-02 11:59:50 +10:00
DecDuck
13cc69f10e
Device code authorization ( #83 )
...
* feat: device code authorization
* Fix for setup executable unable to be launched (#81 )
* Fix for redownload invalid chunks (#84 )
* feat: Redownloading invalid chunks
Signed-off-by: quexeky <git@quexeky.dev >
* fix: clippy
* fix: clippy x2
---------
Signed-off-by: quexeky <git@quexeky.dev >
Co-authored-by: quexeky <git@quexeky.dev >
* chore: Run clippy fix pedantic
Signed-off-by: quexeky <git@quexeky.dev >
* feat: add better error handling
* fix: clippy
---------
Signed-off-by: quexeky <git@quexeky.dev >
Co-authored-by: quexeky <git@quexeky.dev >
2025-08-01 13:12:05 +10:00
quexeky
574782f445
chore: Run clippy fix pedantic
...
Signed-off-by: quexeky <git@quexeky.dev >
2025-08-01 08:42:45 +10:00
DecDuck
739e6166c5
Cache-first object fetching ( #76 )
...
* fix: submillisecond cache hits
* fix: async object loading to hand control back to renderer
* fix: clippy
2025-07-27 12:04:50 +10:00
DecDuck
46e1f16cdd
Process manager fixes ( #71 )
...
* fix: launching on linux
* feat: #70
* feat: add dummy store page
* feat: add store redir and refresh button to library
* feat: cache first object fetching
* feat: Remove let_chains feature and update to Rust 2024
Signed-off-by: quexeky <git@quexeky.dev >
* feat: Check for if process was manually stopped
Signed-off-by: quexeky <git@quexeky.dev >
* fix: use bitcode instead of serde
* chore: remove logs
* fix: clippy
* fix: clippy 2
* fix: swap to stop icon
---------
Signed-off-by: quexeky <git@quexeky.dev >
Co-authored-by: quexeky <git@quexeky.dev >
2025-07-25 10:44:40 +10:00
DecDuck
f9fdf151ea
Clippy CI/CD ( #67 )
...
* feat: add clippy ci
* fix: clippy errors
* fix: ci/cd
* fix: update ci packages
* fix: add gtk3 to ci deps
* fix: add webkit to ci deps
* fix: ci deps and perms
* fix: add clippy settings to lib.rs
2025-07-18 17:36:04 +10:00
DecDuck
f560a62c8f
Download fixes ( #63 )
...
* refactor: Rename StoredManifest to DropData
Signed-off-by: quexeky <git@quexeky.dev >
* fix: Downloads when resuming would truncate files which had not been finished
Signed-off-by: quexeky <git@quexeky.dev >
* chore: Didn't import debug macro
Signed-off-by: quexeky <git@quexeky.dev >
* fix: Download chunks with wrong indexes
Migrated to using checksums as indexes instead
Signed-off-by: quexeky <git@quexeky.dev >
* feat: Resume download button
Also added DBWrite and DBRead structs to make database management easier
Signed-off-by: quexeky <git@quexeky.dev >
* feat: Download resuming
Signed-off-by: quexeky <git@quexeky.dev >
* feat: Resume button and PartiallyInstalled status
Signed-off-by: quexeky <git@quexeky.dev >
* feat: Download validation
Signed-off-by: quexeky <git@quexeky.dev >
* chore: Ran cargo fix & cargo fmt
Signed-off-by: quexeky <git@quexeky.dev >
* fix: download validation, installs, etc
* chore: version bump
---------
Signed-off-by: quexeky <git@quexeky.dev >
Co-authored-by: quexeky <git@quexeky.dev >
2025-07-14 16:31:06 +10:00
quexeky
0ce55e12c5
fix: Re-update the user and app status when recieve_handshake is called ( #54 )
...
Also enabled assetProtocol for better caching in general
Signed-off-by: quexeky <git@quexeky.dev >
2025-06-06 12:09:44 +10:00
quexeky
b71081006e
refactor: Reorganise file structure
...
Signed-off-by: quexeky <git@quexeky.dev >
2025-05-28 11:19:48 +10:00
DecDuck
51c480f245
feat: inline capability registration
2025-05-15 16:05:34 +10:00
DecDuck
790e8c2afe
feat: move to native_model to allow for database upgrades
2025-05-15 10:13:24 +10:00
DecDuck
40eb19cf8b
feat: add iframe store page
2025-04-08 16:17:03 +10:00
DecDuck
3e074abc0a
feat: improve errors and include installed games in library
2025-04-05 15:36:53 +11:00
DecDuck
1fdf569278
fix: offline game status, user widget and use binary-encoding
2025-04-04 11:07:10 +11:00
DecDuck
77251a6524
feat: better client name w/ hostname
2025-04-04 10:14:23 +11:00
DecDuck
569ba4243c
feat: add offline widget & remove openssl in favour of droplet-rs
2025-04-02 11:00:39 +11:00
quexeky
316a3742eb
fix(cache): Added proper error handling to fetch_object(_offline)
2025-02-12 10:00:45 +11:00
quexeky
b9df197534
feat(cache): Caching objects which use the useObject tauri command
2025-02-12 10:00:45 +11:00
quexeky
5c479cb283
chore(cache): Added fetch_drop_object command
...
Signed-off-by: quexeky <git@quexeky.dev >
2025-02-12 10:00:45 +11:00
quexeky
4c59c5d6c1
feat(cache): Implemented caching for game metadata
2025-02-12 10:00:45 +11:00
quexeky
2a1a7326d0
feat(cache): Added forceOffline in settings and caching games & library
2025-02-12 10:00:45 +11:00
quexeky
f33ca95bdf
feat(cache): Added offline!() macro to manage online and offline function distinctions
...
See fetch_library command for example
2025-02-12 10:00:45 +11:00
quexeky
bb23e88ead
chore: Swapped over to using a macro with an offline mode
...
Signed-off-by: quexeky <git@quexeky.dev >
2025-02-12 10:00:45 +11:00
quexeky
810fbdfe49
chore: Progress on caching
2025-02-12 10:00:45 +11:00
DecDuck
89ea34c94e
fix: assorted fixes
2025-01-20 16:46:57 +11:00
quexeky
92729701c3
chore: Ran cargo clippy & cargo fmt
2025-01-20 08:55:19 +11:00
quexeky
7d4651db69
feat(database): Ensure that any database issues are resolved by standalone functions
...
Functions are as follows:
- save_db()
- borrow_db_checked()
- borrow_db_mut_checked()
2025-01-20 08:24:06 +11:00
quexeky
cfc9d13cad
style(logging): Ensured that all logs start with lowercase capital and have no trailing punctuation
2025-01-19 20:36:38 +11:00
quexeky
b99ff67e69
chore(logging): Imported appropriate logging macros
2025-01-19 18:37:21 +11:00
quexeky
f183a9d1a2
refactor(logging): Using more appropriate logging statements
...
Still probably needs some work, but that's enough for now
2025-01-19 18:30:16 +11:00
quexeky
170fde5e23
feat(errors): Using SerializeDisplay for better error management with Result
2025-01-19 17:17:51 +11:00
quexeky
9a184a8f35
refactor(remote): Created separate function to generate requests
2025-01-19 15:09:35 +11:00
quexeky
cf19477d4d
chore: Progress on rolling progress window
2025-01-19 08:41:20 +11:00
quexeky
604d5b5884
Implement better error system and segregate errors and commands ( #23 )
...
* 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 >
2025-01-13 21:44:57 +11:00