#1 2019-08-07 02:43

wenmin92
Member
Registered: 2019-08-07
Posts: 3

Can download url be fixed for Scoop package management?

Recently, I am addicted to scoop, a package management on Windows.

I like Renamer very much. I think if she is more convenient to manage on the scoop bucket, I tried to make her a manifest. Finally, I found that the download link is not reliable, so I can't finish it.

Can this be change a bit? THX.

Offline

#2 2019-08-07 09:33

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 2,834

Re: Can download url be fixed for Scoop package management?

Sure, something similar was already done for the Chocolatey package management.

Take a download URL and append a special parameter to the end "?token=scoop". Please use this token ONLY for the Scoop package.

See also the relevant Chocolatey packages for the reference:
https://chocolatey.org/packages/renamer.install
https://chocolatey.org/packages/renamer.portable

Offline

#3 2019-08-07 09:38

wenmin92
Member
Registered: 2019-08-07
Posts: 3

Re: Can download url be fixed for Scoop package management?

Thank you very much for your support.

I am also looking for support from scoop, hoping to solve this problem from another direction....
Url support dynamic parameter or use a script modify url · Issue #3586 · lukesampson/scoop

Offline

#4 2019-08-07 10:36

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 2,834

Re: Can download url be fixed for Scoop package management?

The version-less URLs will always download the latest version.

But you can also link to a specific version, see the list of all downloads:
https://www.den4b.com/downloads/renamer

Offline

#5 2019-08-07 11:20

wenmin92
Member
Registered: 2019-08-07
Posts: 3

Re: Can download url be fixed for Scoop package management?

This, I have try that, it could. THX.

Some one has create the manifest. See lukesampson/scoop-extras#2585

Offline

Board footer

Powered by FluxBB