From 58d9fe2217c82ecae416f5bc4e7dc13db737242f Mon Sep 17 00:00:00 2001 From: Jonas Niesner Date: Tue, 13 Jun 2023 18:21:33 +0200 Subject: [PATCH] Split json file list --- genfilelist.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/genfilelist.py b/genfilelist.py index 36e2ea3f..83437ec7 100644 --- a/genfilelist.py +++ b/genfilelist.py @@ -67,6 +67,14 @@ jsonarray = { "tagota": tagota, } -json_file_path = "files.json" -with open(json_file_path, "w") as json_file: +with open("jsonfiles/binaries.json", "w") as json_file: + json.dump(binaries, json_file, indent=4) + +with open("jsonfiles/files.json", "w") as json_file: json.dump(jsonarray, json_file, indent=4) + +with open("jsonfiles/tagota.json", "w") as json_file: + json.dump(tagota, json_file, indent=4) + +with open("jsonfiles/filesystem.json", "w") as json_file: + json.dump(files1, json_file, indent=4)