Add a legal notices page
This commit is contained in:
parent
34bdb3cf24
commit
009d649ea6
34 changed files with 3048 additions and 5 deletions
|
|
@ -3,6 +3,7 @@ package cmd
|
|||
import (
|
||||
wisski_distillery "github.com/FAU-CDI/wisski-distillery"
|
||||
"github.com/FAU-CDI/wisski-distillery/internal/cli"
|
||||
"github.com/FAU-CDI/wisski-distillery/internal/dis/component/control/static"
|
||||
)
|
||||
|
||||
// License is the 'wdcli license' command.
|
||||
|
|
@ -27,7 +28,7 @@ func (license) AfterParse() error {
|
|||
}
|
||||
|
||||
func (license) Run(context wisski_distillery.Context) error {
|
||||
context.Printf(stringLicenseInfo, wisski_distillery.License, cli.LegalNotices)
|
||||
context.Printf(stringLicenseInfo, wisski_distillery.License, cli.LegalNotices, static.AssetsDisclaimer)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
@ -43,4 +44,9 @@ wdcli is licensed under the terms of the AGPL Version 3.0 License:
|
|||
|
||||
Furthermore, this executable may include code from the following projects:
|
||||
%s
|
||||
|
||||
================================================================================
|
||||
|
||||
Finally, the web frontend may contain additional code.
|
||||
%s
|
||||
`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue