You've already forked AstralRinth
forked from didirus/AstralRinth
Mod Management API (#81)
* Profile mod management * remove print statement
This commit is contained in:
@@ -79,6 +79,7 @@ pub async fn install_pack_from_version_id(
|
||||
Method::GET,
|
||||
&format!("{}version/{}", MODRINTH_API_URL, version_id),
|
||||
None,
|
||||
None,
|
||||
&state.io_semaphore,
|
||||
)
|
||||
.await?;
|
||||
@@ -104,6 +105,7 @@ pub async fn install_pack_from_version_id(
|
||||
Method::GET,
|
||||
&format!("{}project/{}", MODRINTH_API_URL, version.project_id),
|
||||
None,
|
||||
None,
|
||||
&state.io_semaphore,
|
||||
)
|
||||
.await?;
|
||||
@@ -230,7 +232,7 @@ async fn install_pack(
|
||||
let profile = profile.clone();
|
||||
|
||||
async move {
|
||||
// TODO: Future update: prompt user for optional files in a modpack
|
||||
//TODO: Future update: prompt user for optional files in a modpack
|
||||
if let Some(env) = project.env {
|
||||
if env
|
||||
.get(&EnvType::Client)
|
||||
|
||||
Reference in New Issue
Block a user