1
0
Fork 0

Add manifest URL in conversion script manifestv1 -> manifestv2

This commit is contained in:
Félix Piédallu 2023-09-06 10:37:16 +02:00
parent ccbfdaf3e2
commit a74db4a08b

View file

@ -474,6 +474,8 @@ if __name__ == "__main__":
args = parser.parse_args()
manifest = _convert_v1_manifest_to_v2(args.app_path)
open(args.app_path + "/manifest.toml", "w").write(_dump_v2_manifest_as_toml(manifest))
with open(args.app_path + "/manifest.toml", "w") as manifest_file:
manifest_file.write("#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json\n\n")
manifest_file.write(_dump_v2_manifest_as_toml(manifest))
cleanup_scripts_and_conf(args.app_path)