Browse a Kubernetes cluster from the desktop using your kubeconfig. Apply YAML, follow logs, exec into pods, and manage port-forwards without a browser.
+Settings stay on this computer. Cluster access uses the network and files under the home folder (typically ~/.kube).
+' + [System.Security.SecurityElement]::Escape($trimmed) + '
') + } + + if ($paragraphs.Count -eq 0) { + $paragraphs.Add('' + [System.Security.SecurityElement]::Escape("$AppName is a desktop application.") + '
') + } + + return ($paragraphs -join "`n") +} + function New-FlatpakMetainfoXml { param( [Parameter(Mandatory = $true)] @@ -541,26 +648,124 @@ function New-FlatpakMetainfoXml { [Parameter(Mandatory = $true)] [string]$Summary, + [Parameter(Mandatory = $false)] + [AllowEmptyString()] + [string]$Description = '', + [Parameter(Mandatory = $false)] [string]$ProjectLicense = 'MIT', [Parameter(Mandatory = $false)] - [string]$MetadataLicense = 'CC0-1.0' + [string]$MetadataLicense = 'CC0-1.0', + + [Parameter(Mandatory = $false)] + [string]$Version = '' ) $escapedName = [System.Security.SecurityElement]::Escape($AppName) $escapedSummary = [System.Security.SecurityElement]::Escape($Summary) - return @" + $descriptionXml = ConvertTo-FlatpakMetainfoDescriptionXml -AppName $AppName -Summary $Summary -Description $Description + $xml = @"