fix update check returning falsey value

This commit is contained in:
2024-07-25 21:51:46 -05:00
parent a3ae877972
commit 222e612fc8
2 changed files with 5 additions and 2 deletions

View File

@ -47,8 +47,11 @@
loadingSync = false;
const updateStatus = await checkUpdate();
upToDate = updateStatus.shouldUpdate;
upToDate = !updateStatus.shouldUpdate;
updateMeta = updateStatus.manifest || null;
console.log('[updateStatus]', updateStatus);
console.log('[upToDate]', upToDate);
console.log('[updateMeta]', updateMeta);
versionData.appVersion = await getVersion();
versionData.tauriVersion = await getTauriVersion();