Squirrel / Squirrel.Windows

An installation and update framework for Windows desktop apps
MIT License
7.23k stars 1.02k forks source link

Numbers in folder name #1839

Open GitUser200607 opened 1 year ago

GitUser200607 commented 1 year ago

Its not a bug, but I don't know how to write an issue. I am not a developer, so write this issue as user. I have a lot of applications which are using Squirrel as installer. The problem for me is the folder naming. Example: GitHub desktop (for Windows) has working folder app-3.1.1, but there are old folder app-3.0.1 with files. The application uses files from folder app-3.1.1. So why the old folder still there? Why installer kept it?

Is there any option or switch to remove old installation directories. And option DON'T USE numbers in folder. Is very difficult to create firewall rules every application update.

caesay commented 1 year ago

Is there any option or switch to remove old installation directories.

This has been asked loads. Squirrel keeps the current version and the previous version. For example just a few duplicates are linked below. There is no way to change this, and Squirrel will clean up old versions the next time you update. If you need to clean it up earlier, you can do it yourself.

And option DON'T USE numbers in folder. Is very difficult to create firewall rules every application update.

With this library, there is no way to do this. It will always download your app into a folder with the version number, and this does cause many problems beyond just firewall rules. If you really need this to change, you can check out version v3.* of my fork - which keeps the current version of your app in a static location (in a folder called current) instead of in a folder with the version number.

GitUser200607 commented 1 year ago

which keeps the current version of your app in a static location (in a folder called current) instead of in a folder with the version number.

This is the best option. I wish it will be released someday. Thank you.

caesay commented 1 year ago

Well it is released in my fork. As this library is not being actively developed, it will probably never happen here.

GitUser200607 commented 1 year ago

As I said, the problem for me is in my "status" - I am just a user, not developer. I cannot port GitHub Desktop, Discord, WhatsApp Desktop and some other apps to your fork. So I hope Squirrel will do that feature.