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

Numbers in folder name #1839

Open
GitUser200607 opened this issue Dec 16, 2022 · 4 comments
Open

Numbers in folder name #1839

GitUser200607 opened this issue Dec 16, 2022 · 4 comments

Comments

@GitUser200607
Copy link

GitUser200607 commented Dec 16, 2022

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
Copy link

caesay commented Dec 16, 2022

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
Copy link
Author

GitUser200607 commented Dec 16, 2022

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
Copy link

caesay commented Dec 16, 2022

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

@GitUser200607
Copy link
Author

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.

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

2 participants