* 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>
Drop Desktop Client
The Drop Desktop Client is the companion app for Drop. It is the official & intended way to download and play games on your Drop server.
Internals
It uses a Tauri base with Nuxt 3 + TailwindCSS on top of it, so we can re-use components from the web UI.
Development
Before setting up a development environemnt, be sure that you have a server set up. The instructions for this can be found on the Drop Docs.
Then, install dependencies with yarn. This'll install the custom builder's dependencies. Then, check everything works properly with yarn tauri build.
Run the app in development with yarn tauri dev. NVIDIA users on Linux, use shell script ./nvidia-prop-dev.sh
To manually specify the logging level, add the environment variable RUST_LOG=[debug, info, warn, error] to yarn tauri dev:
e.g. RUST_LOG=debug yarn tauri dev
Contributing
Check out the contributing guide on our Developer Docs: Drop Developer Docs - Contributing.