Skip to content

Updater plugin update.install() never returns #2558

Open
@AndrisBorbas

Description

@AndrisBorbas

The updater plugins update.install() on js doesn't return anymore, execution is stuck inside the function. After closing the app and reopening it is still on the older version.
I tried enabling debug logging and with that the output shows "running on_before_exit hook" twice, but then nothing happens, the app stays open.

log::debug!("running on_before_exit hook");

I haven't added anything to the on_before_exit.
I am on windows 10.

Tauri info output:

[✔] Environment
    - OS: Windows 10.0.19045 x86_64 (X64)
    ✔ WebView2: 134.0.3124.72
    ✔ MSVC:
        - Visual Studio Professional 2019
        - Visual Studio Professional 2022
    ✔ rustc: 1.84.0 (9fc6b4312 2025-01-07)
    ✔ cargo: 1.84.0 (66221abde 2024-11-19)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 22.14.0
    - pnpm: 10.6.3
    - npm: 10.9.2
    - bun: 1.1.33

[-] Packages
    - tauri 🦀: 2.4.0
    - tauri-build 🦀: 2.1.0
    - wry 🦀: 0.50.5
    - tao 🦀: 0.32.8
    - @tauri-apps/api : 2.4.0
    - @tauri-apps/cli : 2.4.0

[-] Plugins
    - tauri-plugin-deep-link 🦀: 2.2.0
    - @tauri-apps/plugin-deep-link : 2.2.0
    - tauri-plugin-updater 🦀: 2.6.1
    - @tauri-apps/plugin-updater : 2.6.1
    - tauri-plugin-log 🦀: 2.3.1
    - @tauri-apps/plugin-log : not installed!
    - tauri-plugin-dialog 🦀: 2.2.0
    - @tauri-apps/plugin-dialog : 2.2.0
    - tauri-plugin-persisted-scope 🦀: 2.2.0
    - @tauri-apps/plugin-persisted-scope : not installed!
    - tauri-plugin-opener 🦀: 2.2.6
    - @tauri-apps/plugin-opener : 2.2.6
    - tauri-plugin-window-state 🦀: 2.2.1
    - @tauri-apps/plugin-window-state : 2.2.1
    - tauri-plugin-store 🦀: 2.2.0
    - @tauri-apps/plugin-store : 2.2.0
    - tauri-plugin-fs 🦀: 2.2.0
    - @tauri-apps/plugin-fs : 2.2.0
    - tauri-plugin-clipboard-manager 🦀: 2.2.2
    - @tauri-apps/plugin-clipboard-manager : 2.2.2

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../out
    - devUrl: http://localhost:3000/
    - framework: React (Next.js)
    - bundler: Webpack

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions