Profile imports (#348)

* temporary switch

* draft; working unmanaged + modrinth

* working update

* added checkerg

* fixed io merge issue

* Added api handling

* tidying up

* reverted playground changes

* fixed js issue

* fixed merge issues
This commit is contained in:
Wyatt Verchere
2023-07-22 12:37:19 -07:00
committed by GitHub
parent 3fa33dc241
commit 70aaf6eef9
20 changed files with 1440 additions and 127 deletions

View File

@@ -2,8 +2,8 @@ use crate::api::Result;
use theseus::{
pack::{
install::install_pack,
install_from::{CreatePackLocation, CreatePackProfile},
install_mrpack::install_zipped_mrpack,
},
prelude::*,
};
@@ -22,7 +22,7 @@ pub async fn pack_install(
location: CreatePackLocation,
profile: ProfilePathId,
) -> Result<ProfilePathId> {
Ok(install_pack(location, profile).await?)
Ok(install_zipped_mrpack(location, profile).await?)
}
#[tauri::command]