#tauri plugin updater

2 messages · Page 1 of 1 (latest)

green yew
#

i've got the updater plugin setup and i'm using the exactly same code from the docs. when i publish a new version of my app on github and then open my app it seems to be hitting the updater endpoint properly because when i check the network tab i see plugin:updater|check which has:

{
    "rid": 672088231,
    "currentVersion": "2.7.5",
    "version": "2.8.0",
    "date": "2025-05-22T19:52:01.516Z",
    "body": "...",
    "rawJson": {
      "notes": "...",
      "platforms": {
        "...": {
          "signature": "...",
          "url": "...",
        },
      "pub_date": "2025-05-22T19:52:01.516Z",
      "version": "2.8.0"
      }
    }
}

however im not seeing any of the console logs from within the if(update) conditional and await update.downloadAndInstall is not running. so as far as i can tell its not making it inside the conditional at all... hope someone can please point me in the right direction. thanks.

https://tauri.app/plugin/updater/#checking-for-updates

green yew
#

something weird that ive discovered:
if i change the version in tauri.conf.json to a version less than the latest version available on github and then build my app locally and run it, the updater downloads the latest from github and installs it properly.