Skip to content

[bug] Update fails on Windows when constructing the updater using the UpdaterBuilder directly #2335

Open
@talzion12

Description

I'm using the UpdaterBuilder to construct an Updater and initiate an update but I'm getting a panic error: range start index 1 out of range for slice of length 0 in tauri-plugin-updater-2.3.1\src\updater.rs:616:52.

It seems to be because the UpdaterBuilder::current_exe_args is empty and it's not possible to change it from outside the crate.

The reason I'm using the UpdaterBuilder directly and not using UpdaterExt is because I only want to use the update functionality but I'm otherwise not using tauri and I don't want to construct a Runtime. Is this kind of use not supported?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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