You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to kill the sidecar when the app has been downloaded and is going to be installed. Because I noticed that the sidecar does not quit when the app exit.
If I write my code below. I should restart my sidecar when the installer failed. Not only that, when my sidecar is providing some kind of service, and the service has to be stopped during the app update.
Changing how the update is download and installed is more complicated, we'll have to do it on another time. It'll also need to be audited again since the updater is one of the major security risks. But at least we can fix your issue.
Describe the problem
I want to kill the sidecar when the app has been downloaded and is going to be installed. Because I noticed that the sidecar does not quit when the app exit.
If I write my code below. I should restart my sidecar when the installer failed. Not only that, when my sidecar is providing some kind of service, and the service has to be stopped during the app update.
If I do this like below. The sidecar does not be killed...
Describe the solution you'd like
I see a todo tag in the code here. It will be helpful for me if done.
Or if there is a event like
tauri://update-download
, maybe this will work too. (But this may have a problem)Further considerations, will it support to get the download progress, it only support the
update-status: [ERROR/PENDING/DONE]
right now.Alternatives considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: