A tool to generate Flatpak sources file for a C# project
This tool is a replacement for flatpak-dotnet-generator python script, with some changes:
- Written in C# (obviously)
- Latest version of Freedesktop SDK and Dotnet are used
- Runtime packages required to build self-contained programs get added automatically (can be disabled with
--no-self-contained
) - You can set additional packages to add with
-a
option
Example:
flatpak-dotnet-generator YourProject.csproj -o sources.json -d dotnet-sources -a cake.tool cake.filehelpers
Run flatpak-dotnet-generator --help
to see full list of options.