-
Notifications
You must be signed in to change notification settings - Fork 909
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
Add support for license packages. #2480
Comments
🤔 What about a Some things you could possibly do with it:
|
Related to: #2829 |
Since the |
After some discussion with @gep13 on future plans for non-windows systems, it may make sense to create a new type of package, specifically for licenses (for licensed Chocolatey editions). Basically a
.license
equivalent to.extension
package.So for any package ID ending in
.license
, choco would check for achocolatey.license.xml
in alicense
directory, and copy it to$env:chocolateyinstall\license\chocolatey.license.xml
. I suppose it probably should also check forchocolatey.license.xml.txt
as well. Uninstall may be a bit more tricky, since what if you have multiple different.license
package IDs installed? Maybe record what is the most recent license copy is?With this in place, the package builder probably could be updated to work with this type of package, so license packages could be created automatically just by passing license file.
The text was updated successfully, but these errors were encountered: