Schedule and run PowerShell scripts and console processes from an Avalonia desktop UI. Register the worker, edit schedules, and follow logs without a browser.
+The Flatpak is the UI. Script files and logs live under the home folder. The worker is a separate install on Linux (systemd) or Windows (service).
+Linux Flatpak uses X11/XWayland from the GNOME app icon and a lowercase app id.
+' + [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)] @@ -582,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 = @"