Wire Profile Backend to Frontend (#71)

* Search updates

* fixes2

* Some more work

* start instance page wiring

* Pack installation + Profile viewing

* Remove print statement

* Fix disappearing profiles

* fix compile err

* Finish Instance Running

* remove print statement

* fix prettier

* Fix clippy + early return
This commit is contained in:
Geometrically
2023-04-08 18:54:38 -07:00
committed by GitHub
parent 764d75181f
commit a62d931fe2
27 changed files with 502 additions and 739 deletions

View File

@@ -31,7 +31,7 @@ async fn main() -> theseus::Result<()> {
// Initialize state
let st = State::get().await?;
st.settings.write().await.max_concurrent_downloads = 1;
st.settings.write().await.max_concurrent_downloads = 10;
// Clear profiles
println!("Clearing profiles.");
@@ -64,8 +64,6 @@ async fn main() -> theseus::Result<()> {
.await?;
State::sync().await?;
// Attempt to run game
if auth::users().await?.len() == 0 {
println!("No users found, authenticating.");