Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erase the "pending" directory after an update has been successfully installed #8730

Open
Arcitec opened this issue Dec 7, 2024 · 0 comments

Comments

@Arcitec
Copy link

Arcitec commented Dec 7, 2024

Electron-Updater does not clean up the pending directory after installing updates.

Electron-Updater downloads the new package to ~/.cache/vesktop-updater/pending/vesktop-1.5.4.x86_64.rpm and installs it.

Then, the ~/.cache/vesktop-updater/pending directory remains on disk afterwards, wasting space forever, for no good reason.

This problem seemingly affects every platform because I saw the same issue on Windows mentioned here: #8073

Please consider erasing the pending directory after installing updates. It saves disk space. A simple algorithm for this would literally just be "if the update check doesn't find any updates, erase pending dir on disk since there's nothing new to fetch".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant