From d3145bfc4e3d2521a89098edbcd4c11a2999f80a Mon Sep 17 00:00:00 2001 From: akanyan Date: Wed, 16 Apr 2025 07:41:38 +0000 Subject: [PATCH] fix: aimeio not applying --- rust/src/modules/segatools.rs | 3 +++ src/components/App.vue | 19 ++++++++++++++++++- src/components/ModListEntry.vue | 3 ++- src/components/options/Aime.vue | 1 + src/stores.ts | 2 +- 5 files changed, 25 insertions(+), 3 deletions(-) diff --git a/rust/src/modules/segatools.rs b/rust/src/modules/segatools.rs index f974d7f..b74b9a4 100644 --- a/rust/src/modules/segatools.rs +++ b/rust/src/modules/segatools.rs @@ -134,6 +134,9 @@ impl Segatools { if self.amnet.name.len() > 0 { aimeio.set("serverName", &self.amnet.name); } + } else if let Aime::Other(key) = &self.aime { + ini_out.with_section(Some("aimeio")) + .set("path", util::pkg_dir().join(key.to_string()).join("segatools").join("aimeio.dll").stringify()?); } } else { ini_out.with_section(Some("aime")) diff --git a/src/components/App.vue b/src/components/App.vue index 521377d..5b15204 100644 --- a/src/components/App.vue +++ b/src/components/App.vue @@ -154,7 +154,10 @@ listen<{ message: string; header: string }>('invoke-error', (event) => { >
@@ -255,6 +258,20 @@ listen<{ message: string; header: string }>('invoke-error', (event) => {
Patches require mempatcher to be installed and enabled. + +
+
diff --git a/src/components/ModListEntry.vue b/src/components/ModListEntry.vue index e88aff1..2dde4d7 100644 --- a/src/components/ModListEntry.vue +++ b/src/components/ModListEntry.vue @@ -40,7 +40,8 @@ if (unsupported.value === true && model.value === true) { { if (timeout !== null) { clearTimeout(timeout); } - timeout = setTimeout(() => invoke('save_current_profile'), 2000); + timeout = setTimeout(() => invoke('save_current_profile'), 600); } });