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

Can't create a manifest without a URL #4285

Closed
pfmoore opened this issue Mar 9, 2021 · 2 comments
Closed

Can't create a manifest without a URL #4285

pfmoore opened this issue Mar 9, 2021 · 2 comments
Labels

Comments

@pfmoore
Copy link

pfmoore commented Mar 9, 2021

I'd like to create a manifest that doesn't download anything. The idea is that it depends on another app (specifically git) and then has an install script that sets up some aliases, but doesn't need to download anything apart from the dependency.

According to the documentation, url is optional, but if I leave it out, the install fails with

>scoop install .\example.json
Test-LessmsiRequirement: C:\Users\Gustav\scoop\apps\scoop\current\lib\depends.ps1:83
Line |
  83 |  … Lessmsi) -and (Test-LessmsiRequirement -URL (url $manifest $arch))) {
     |                                                ~~~~~~~~~~~~~~~~~~~~~
     | Cannot bind argument to parameter 'URL' because it is null.

'example' doesn't support 64bit architecture!

I could just point the url at some dummy file as a workaround, but that seems a bit annoying.

@pfmoore
Copy link
Author

pfmoore commented Mar 9, 2021

Hmm, having got this working with a dummy URL, I realised that setting up aliases in the installer is a dumb idea because it doesn't work 🙁

Nevertheless, I still think that at least the documentation should be updated to note that URL is mandatory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants