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
2024-10-06 01:10:57 +10:00
2024-10-08 00:39:42 +11:00
2024-10-15 11:04:50 +11:00
2024-12-26 22:21:26 -05:00
2024-10-22 22:41:21 +00:00
2024-12-24 09:05:51 +11:00
2024-10-09 00:37:27 +11:00
2025-01-05 19:04:47 +11:00
2024-10-08 00:39:42 +11:00

Drop App

Drop app is the companion app for Drop. It uses a Tauri base with Nuxt 3 + TailwindCSS on top of it, so we can re-use components from the web UI.

Running

Before setting up the drop app, be sure that you have a server set up. The instructions for this can be found on the Drop Wiki

Current features

Currently supported are the following features:

  • Signin (with custom server)
  • Database registering & recovery
  • Dynamic library fetching from server
  • Installing & uninstalling games
  • Download progress monitoring
  • Launching / playing games

Development

Install dependencies with yarn

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 the original Drop repo for contributing guidelines.

Description
The desktop companion app for Drop. It acts a download client, game launcher and game distribution endpoint for Drop.
Readme AGPL-3.0 30 MiB
Languages
Rust 65.4%
Vue 31%
TypeScript 2.5%
SCSS 0.5%
JavaScript 0.4%
Other 0.2%