From 1fa795ba55b59bb63019d11bc08a165ecfcaf69e Mon Sep 17 00:00:00 2001 From: kate <kate@dariox.club> Date: Sun, 2 Jun 2024 20:36:00 +0800 Subject: [PATCH] Update kig messages --- src/ctx.rs | 2 +- src/workflows/install.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ctx.rs b/src/ctx.rs index 84cefcc..eadfb6c 100644 --- a/src/ctx.rs +++ b/src/ctx.rs @@ -195,7 +195,7 @@ impl RunnerContext } out_loc.push_str(format!("presz_{}", helper::generate_rand_str(12)).as_str()); - info!("[RunnerContext::download_package] writing output file to {}", out_loc); + info!("[RunnerContext::download_package] writing to {}", out_loc); helper::download_with_progress( format!("{}{}", &av.remote_info.base_url, version.file.expect("No URL for latest package!")), out_loc.clone()).await?; diff --git a/src/workflows/install.rs b/src/workflows/install.rs index 4a5551a..b5177d4 100644 --- a/src/workflows/install.rs +++ b/src/workflows/install.rs @@ -37,6 +37,7 @@ impl InstallWorkflow { pub async fn install_with_remote_version(ctx: &mut RunnerContext, version_id: usize, version: RemoteVersion) -> Result<(), BeansError> { + println!("{:=>60}\nInstalling version {} to {}\n{0:=>60}", "=", version_id, &ctx.sourcemod_path); let presz_loc = RunnerContext::download_package(version).await?; Self::install_from(presz_loc.clone(), ctx.sourcemod_path.clone(), Some(version_id)).await?; if helper::file_exists(presz_loc.clone()) {