aandrew-me / ytDownloader

A modern GUI App for downloading Videos and Audios from hundreds of sites
https://ytdn.netlify.app/
GNU General Public License v3.0
949 stars 87 forks source link

Remove old updates #134

Closed trimechee closed 2 weeks ago

trimechee commented 1 year ago

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...

aandrew-me commented 1 year ago

Auto update is handled by a library.

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

trimechee commented 1 year ago

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

aandrew-me commented 1 year ago

Okay thanks for reporting this. I will analyze it

trimechee commented 1 year ago

Great , thank you !

aandrew-me commented 10 months ago

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 commented 10 months ago

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

trimechee commented 10 months ago

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 commented 10 months ago

This updater file is required

trimechee commented 10 months ago

And the old updater file ?

aandrew-me commented 3 months ago

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

trimechee commented 3 months ago

Awesome !! Thank you so much Mr @aandrew-me :) 💯 🥇

aandrew-me commented 2 weeks ago

Create a new issue again if there are some issues