This commit is contained in:
Josiah Glosson committed 2025-07-09 20:41:11 -05:00
1 parent 3d4d0afa59
commit 9a43d49b3b
2 files changed
+10 -4

No files matched your search

+9 -3
View File
@@ -364,9 +364,11 @@ async function checkUpdates() {
if (!!update) {
console.log(`Update ${update.version} is available.`)
if (update.version === availableUpdate.value?.version) {
console.log('Skipping update modal because the new version is the same as the dismissed update')
console.log(
'Skipping update modal because the new version is the same as the dismissed update',
)
} else {
availableUpdate.value = update;
availableUpdate.value = update
updateModal.value.show(update)
}
}
@@ -475,7 +477,11 @@ function handleAuxClick(e) {
<PlusIcon />
</NavButton>
<div class="flex flex-grow"></div>
<NavButton v-if="!!availableUpdate" v-tooltip.right="'Update available'" :to="() => updateModal.show(availableUpdate)">
<NavButton
v-if="!!availableUpdate"
v-tooltip.right="'Update available'"
:to="() => updateModal.show(availableUpdate)"
>
<!-- TODO: Gray if updating on next restart -->
<DownloadIcon class="text-brand-green" />
</NavButton>
+1 -1
View File
@@ -41,7 +41,7 @@
]
},
"productName": "Modrinth App",
"version": "0.9.0",
"version": "../app-frontend/package.json",
"mainBinaryName": "Modrinth App",
"identifier": "ModrinthApp",
"plugins": {