Skip to content

[bug] can't get the updater status #7128

@xdewx

Description

@xdewx

Describe the bug

how to get the status of emit('tauri://update')? onUpdaterEvent seems not work.
I found that the dialog will show when there is a new version available, but nothing happens when not.

  1. if there exists a newer version, dialog will show
  2. if currentVersion.json not exist, nothing happens. In fact, Promise.reject expected
  3. if cuurentVersion.json exists but version in it not greater than currentVersion, nothing happens. In fact, Promise.reject expected

Reproduction

No response

Expected behavior

No response

Platform and versions

windows
tauri 1.3.0

Stack trace

No response

Additional context

No response

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