Use existing .proto files and order their fields by name, then generate new ones (separated by message / enum name).
dotnet run
at its directory and follow the guide.
Nothing..? dotnet run -- --help
to see Command Line help.
// mihomo-protos - Public protocol APIs for miHomo software, open-sourced for compatibility.
...
Modify ProtobufRegen/pre_license.txt
.
Find ProtobufRegen/Program.cs
and modify:
// Change if U need.
const string ProtoPackage = "miHomo.Protos";