fix update check returning falsey value

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

View File

@ -8,7 +8,7 @@
},
"package": {
"productName": "FanslySync",
"version": "0.1.1"
"version": "0.1.1.1"
},
"tauri": {
"allowlist": {

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();