scoop-apps
scoop-apps copied to clipboard
App manifest link gives 404 error
The current scheme
appManifestUrl: ${app.bucket.url}/tree/${bucket.name}/bucket/${app.appName}.json
from what I understand gives me this URL:
https://github.com/ScoopInstaller/Extras/tree/extras/bucket/bitwarden.json
which gives me a file not found error.
Looks like we need to add branch name and remove the extras?
For example,
https://github.com/ScoopInstaller/Extras/blob/master/bucket/bitwarden.json
Of course, it couldn't be as simple as that. I looked at the last change on this line and looks like it used to be that way.
From https://github.com/bjansen/scoop-apps/commit/0bd66606f99a292c0202ed0f14fafbf2c825f6b7
appManifestUrl: ${app.bucket.url}/tree/master/bucket/${app.appName}.json
One problem I don't know how to handle in a generic way is how do we get this string "master" for a given ${app.bucket.url}.
I am just a scoop user so I don't know the internal working but from what I understand a bucket url is not necessarily github but any public(?) git repo?