tauri-apps / tauri-apps/plugins-workspace

[bug] Update MSIs aren't cleaned up from temp folder after update

Open
#2,389 1 comment 0 reactions 0 assignees View on GitHub
platform: windows plugin: updater
Dominant language
Rust
Stars
1.8k
Forks
602
Avg merge
4d 14h
Merged PRs (30d)
9

Description

It seems that after an update is performed the MSI that was downloaded is not cleaned up. This can cause the disk to become full with MSIs in case the update is retried and fails to install repeatedly.

I believe there are a few options to improve the situation:
1. Be able to configure the download directory: this way the files can be periodically cleaned up.
2. Make the downloaded file have a deterministic name so that it just gets overwritten instead of filling up the disk with many identical temp files.

Both of these don't entirely fix the problem but they make it a bit more manageable in my opinion, let me know what you think.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.