feat: initial support for io pkgs

This commit is contained in:
2025-03-14 23:53:49 +00:00
parent caa20a3aa0
commit 156972607e
3 changed files with 31 additions and 16 deletions

View File

@ -88,9 +88,7 @@ impl Profile for OngekiProfile {
let target_path = PathBuf::from(&self.sgt.target);
let exe_dir = target_path.parent().ok_or_else(|| anyhow!("Invalid target path"))?;
let sgt_dir = util::pkg_dir()
.join(self.sgt.hook.as_ref().ok_or_else(|| anyhow!("No hook"))?.to_string())
.join("segatools");
let sgt_dir = self.sgt.hook_dir()?;
#[cfg(target_os = "windows")]
{