Commit Graph

45 Commits

Author SHA1 Message Date
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
5ea47d733b feat(settings): Added max_download_threads setting and separated settings from db
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-06 07:36:35 +11:00
2822b7a593 chore: More cleanup after cargo clippy
Also added some type efficiency improvements (using references where possible and added SliceDeque crate)

Signed-off-by: quexeky <git@quexeky.dev>
2025-01-05 21:08:27 +11:00
6159319172 feat(download manager): Added generic download manager
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-05 19:04:07 +11:00
cac612b176 refactor(download manager): Fully separate & generic download manager
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-05 19:02:19 +11:00
472eb1d435 squash(autostart): added adenmgb's autostart feature
Squashed commit of the following:

commit 085cd9481d
Author: Aden Lindsay <140392385+AdenMGB@users.noreply.github.com>
Date:   Mon Dec 30 16:29:41 2024 +1030

    Update lib.rs for the DB sync of autostart

commit 86f2fb19bd
Author: Aden Lindsay <140392385+AdenMGB@users.noreply.github.com>
Date:   Mon Dec 30 16:29:13 2024 +1030

    Update db.rs to accomidate the settings sync

commit ece11e7581
Author: Aden Lindsay <140392385+AdenMGB@users.noreply.github.com>
Date:   Mon Dec 30 16:27:48 2024 +1030

    Update autostart.rs to include DB

commit 7ea8a24fdc
Author: Aden Lindsay <140392385+AdenMGB@users.noreply.github.com>
Date:   Mon Dec 30 15:17:38 2024 +1030

    Add files via upload

commit af2f232d94
Author: Aden Lindsay <140392385+AdenMGB@users.noreply.github.com>
Date:   Mon Dec 30 15:17:09 2024 +1030

    Delete src-tauri/Cargo.toml

commit 5d27b65612
Author: Aden Lindsay <140392385+AdenMGB@users.noreply.github.com>
Date:   Mon Dec 30 15:15:42 2024 +1030

    Add files via upload

commit 2eea7b97a8
Author: Aden Lindsay <140392385+AdenMGB@users.noreply.github.com>
Date:   Mon Dec 30 15:15:31 2024 +1030

    Delete src-tauri/src/lib.rs

commit 9a635a10d1
Author: Aden Lindsay <140392385+AdenMGB@users.noreply.github.com>
Date:   Mon Dec 30 15:14:49 2024 +1030

    Add files via upload

commit 2fb049531a
Author: Aden Lindsay <140392385+AdenMGB@users.noreply.github.com>
Date:   Mon Dec 30 15:13:37 2024 +1030

    Add files via upload

commit ea1be4d750
Author: Aden Lindsay <140392385+AdenMGB@users.noreply.github.com>
Date:   Mon Dec 30 15:13:20 2024 +1030

    Delete pages/settings/index.vue
2024-12-30 17:31:03 +11:00
6b96e408b2 feat(process): shared child with stop command 2024-12-30 15:37:29 +11:00
88b2505e71 feat(Compat): Implemented spawning with umu (using umu-wrapper-lib)
Signed-off-by: quexeky <git@quexeky.dev>
2024-12-30 13:12:27 +11:00
21835858f1 feat(downloads): lockless tracking of downloaded chunks 2024-12-26 17:41:10 +11:00
85a08990c3 chore(metadata): update metadata 2024-12-26 12:56:26 +11:00
dd7f5675d8 feat(game): game uninstalling & partial compat 2024-12-26 11:59:26 +11:00
694f2fd46e chore(stored manifest): swap file name and to binary encoding 2024-12-24 12:52:40 +11:00
d9a51cf187 feat(tray icon): initial creation and logo update 2024-12-19 10:09:25 +11:00
bb60942558 Merge branch 'main' into download-manager 2024-12-09 21:20:44 +11:00
de52dac0ab feat(download & db): combined db and download interface improvements 2024-12-07 11:00:35 +11:00
e22e6d8a55 fix(auth): use chrono library to generate timestamps 2024-11-19 15:47:56 +11:00
9b1cfa778a chore: cleanup of lib and toml 2024-11-19 15:28:57 +11:00
2d4a7e8f9c feat: added file-based logging
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-19 13:23:42 +11:00
7c8089ef64 fix(openssl): use vendored flag 2024-11-19 11:49:36 +11:00
17244496ec refactor: Removed unnecessary dependencies
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-11 18:25:26 +11:00
55b7921ee6 feat(downloads): Pausing and resuming game downloads
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-09 19:55:36 +11:00
e9805a8359 rustix fs feature 2024-11-04 10:55:52 +00:00
49184af96b Removed unnecessary dependencies
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 18:47:50 +11:00
0528c78092 Functioning download progress updates
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 17:11:37 +11:00
bd39f1fd72 Removed gxhash and ran cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-01 07:51:56 +11:00
706f525ae7 Converted to md5 2024-10-26 22:22:10 +11:00
c51e7618bd More progress on checksums 2024-10-26 15:18:34 +11:00
714b968683 Merge branch 'main' into downloads 2024-10-26 10:58:12 +11:00
d39e7cbdf1 Mostly finished with checksums. Just merging main in at the same time 2024-10-26 10:58:04 +11:00
2ec351f20e fixed multi-chunk downloads 2024-10-25 10:28:58 +11:00
5ed0833e61 my own take on some BASED design decisions 2024-10-24 22:05:58 +11:00
c1fb39ef21 Update Cargo.toml 2024-10-21 21:23:52 +11:00
e71e4cf0fa Update on GameDownload 2024-10-18 22:35:03 +11:00
496c6a57e3 Progress on downloads. Currently working on parsing functions to be run asynchronously 2024-10-18 07:45:09 +11:00
5ef6b8e528 cleanup and game UI beginnings 2024-10-15 20:05:13 +11:00
b3963b60b5 Updated logging 2024-10-15 11:04:50 +11:00
e828bca2a5 reorganisation, cleanup and new nonce protocol 2024-10-12 17:34:47 +11:00
ac1c3b609a ci/cd and patches for windows builds 2024-10-09 05:09:48 +11:00
8f6f184739 compliant with new APIs 2024-10-09 00:37:27 +11:00
4bb33c8223 handshakes 2024-10-08 18:08:52 +11:00
ae4c65b7ab another stage of client authentication 2024-10-08 16:13:28 +11:00
22b1aeec9f auth initiate, database and more 2024-10-08 13:17:06 +11:00
c9577444cd migrate to nuxt and groundwork 2024-10-08 00:39:42 +11:00
c46c54b2a5 migrated unpacking to rust zstd to conform with droplet
@drop/droplet now packs with zstd, so converts unpacker.rs to use zstd
2024-10-07 15:10:38 +11:00
f6cd7c3d1f initial commit 2024-10-06 01:10:57 +10:00