fix: misc fixes for 0.6.0

This commit is contained in:
2025-04-13 21:02:04 +00:00
parent 073ff8cfb8
commit 7ea31c7a87
4 changed files with 35 additions and 21 deletions

View File

@ -67,26 +67,14 @@ onMounted(async () => {
}
fetch_promise.then(async () => {
const promises = [];
promises.push(
invoke('install_package', {
key: 'segatools-mu3hook',
force: false,
})
);
promises.push(
invoke('install_package', {
key: 'segatools-chusanhook',
force: false,
})
);
promises.push(
invoke('install_package', {
key: 'mempatcher-mempatcher',
force: false,
})
);
await Promise.all(promises);
await invoke('install_package', {
key: 'segatools-mu3hook',
force: false,
});
await invoke('install_package', {
key: 'segatools-chusanhook',
force: false,
});
});
});
@ -268,7 +256,17 @@ listen<{ message: string; header: string }>('invoke-error', (event) => {
</footer>
</TabPanel>
<TabPanel :value="4">
<PatchList />
<PatchList
v-if="
pkg.hasLocal('mempatcher-mempatcher') &&
prf.isPkgKeyEnabled('mempatcher-mempatcher')
.value === true
"
/>
<div v-else>
Patches require <code>mempatcher</code> to be installed
and enabled.
</div>
</TabPanel>
</TabPanels>
<div v-if="currentTab === 5 || currentTab === 3">