plugins-workspace
plugins-workspace copied to clipboard
[bug] Update fails on Windows when constructing the updater using the UpdaterBuilder directly
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?