Files
ai-disclosure-standard/internal/app/licensing.go
T
jbergner 13efcfb986
release-tag / release-image (push) Successful in 1m50s
Update auf 1.8.0 mit Bulk-Option
2026-07-22 22:27:42 +02:00

28 lines
603 B
Go

package app
import (
_ "embed"
"fmt"
"github.com/b1tsblog/license-platform/pkg/licensekit"
)
const (
ProductID = "ai-disclosure-standard"
ProductVersion = "1.8.0"
FeatureCustomText = "custom_text"
FeatureCustomBadge = "custom_badge"
FeatureWhiteLabel = "white_label"
)
//go:embed trusted_keys.json
var embeddedTrustStore []byte
func productTrustStore() (licensekit.TrustStore, error) {
store, err := licensekit.ParseTrustStore(embeddedTrustStore)
if err != nil {
return licensekit.TrustStore{}, fmt.Errorf("embedded license trust store: %w", err)
}
return store, nil
}