-
Notifications
You must be signed in to change notification settings - Fork 554
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
How to remove query parameters from feed URL is unclear #278
Comments
Hi @FranzJoseph17, Sorry that I don't have much time these days for a complete answer. Otherwise, perhaps @DustinBrett would know. |
Thank you for your answer @ArekSredzki The autoUpdate code of the App is 6 years old and i believe that, in the meanwhile, Squirrel has changed to automatically attach query parameters as stated by one of the committers. I've commented on a similar still open Squirrel issue providing the details that were missing, if a solution is suggested and it works i'll post it here too. Have a nice day |
The problem might not be the query parameters auto generated by Squirrel. If you request the RELEASES file with or without the query parameter you will still have the server provide it for you. To test this, just copy and paste the url you provided, in your browser and see if the RELEASES file is downloaded. if your RELEASES file is downloaded successfully try to look into its contents, there you will see the download link of your nupkg file. This link should not start with "/download" but with your server ip address or domain name if you have any or localhost or so. If it starts with download, then change this in your server in the api/controllers/VersionController.js file. There you will see an obvious instruction asking you to modify the url used in the RELEASES file to include the full absolute url needed to download the nupkg file from the server..meaning ..just add your ip address and port number before the /download and that's all. |
Ok, I went digging through the code and found out what is going on in my case. Hopefully, this helps someone else. The problem is that you probably have ports involved in your Now the problem: If you only specify the domain + port (eg.
which causes Squirrel to report back the the initial error Solution: If using ports, provide the full url to |
Hello, i started to program not so much time ago and i'm having trouble with this project:
In the docs it's clearly stated that:
The problem is: how is this configuration done?
The link to the Squirrel docs leads to the main summary page, not the specific section about how to do this.
I searched the internet but i couldn't find anything useful.
To give more context here is my code
The link Squirrel tries to download RELEASES file is
http://my-site/update/win64/1.9.9/stable/RELEASES?id=my-app-name&localVersion=1.9.9&arch=amd64
It fails and the error is
Filename can either be an absolute HTTP[s] URL, *or* a file name
I feel like i'm missing something obvious as similar old issues had been closed without providing a solution, can someone point me in the right direction? I would really appreciate that :)
The text was updated successfully, but these errors were encountered: