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

Remove old updates #134

Open
trimechee opened this issue May 2, 2023 · 10 comments
Open

Remove old updates #134

trimechee opened this issue May 2, 2023 · 10 comments
Assignees
Labels
enhancement New feature or request

Comments

@trimechee
Copy link

Hello, I noticed when there is an update made via the ytDownloader updater, ytDownloader does not erase old downloaded versions, and over time it can take up a lot of space...

@trimechee trimechee added the bug Something isn't working label May 2, 2023
@aandrew-me aandrew-me removed the bug Something isn't working label May 2, 2023
@aandrew-me
Copy link
Owner

Auto update is handled by a library.

However can you show me where the old versions are stored?

@trimechee
Copy link
Author

There was 2 or 3 installers of ytDownloader with 100mo size each installer, they were in hidden folder "C:\Users\Asus\AppData"....

@aandrew-me
Copy link
Owner

Okay thanks for reporting this. I will analyze it

@aandrew-me aandrew-me added the enhancement New feature or request label May 2, 2023
@trimechee
Copy link
Author

Great , thank you !

@aandrew-me
Copy link
Owner

Looks like the library doesn't handle this properly. So I would need to manually delete old updates. For that I need to know exactly where they are and how they look like. So I would need more details from you

@trimechee
Copy link
Author

Great ! I will try to find these folders in sha Allah !

@trimechee
Copy link
Author

trimechee commented Oct 22, 2023

Hello @aandrew-me , thank you for investigating !

I have just done a fresh installation, I think the updates are in this folder, what is surprising is I uninstalled then reinstalled Ytdownloader and normally the ytdownloader-updater folder should be empty because the fresh installation....

C:\Users\Asus\AppData\Local\ytdownloader-updater

there is insaller 109mo : C:\Users\Asus\AppData\Local\ytdownloader-updater\installer.exe in folder C:\Users\Asus\AppData\Local\ytdownloader-updater

@aandrew-me
Copy link
Owner

This updater file is required

@trimechee
Copy link
Author

And the old updater file ?

@aandrew-me
Copy link
Owner

I have added code to remove everything in that updater folder. It will be in next release. I will have to test that things don't break if everything is deleted

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

No branches or pull requests

2 participants