@@ -561,6 +561,9 @@ def port_info_id(port_status, max_info_count=100):
561
561
if port_zip .lower ().startswith ('images.' ):
562
562
continue
563
563
564
+ if port_zip .lower () in ('images.zip' , 'gameinfo.zip' ):
565
+ continue
566
+
564
567
current_date = port_status [port_zip ]['date_added' ]
565
568
566
569
if (port_info_ids [info_id ] >= max_info_count ) and (last_date != current_date ):
@@ -575,6 +578,8 @@ def port_info_id(port_status, max_info_count=100):
575
578
576
579
last_date = current_date
577
580
581
+ # print(json.dumps(port_info_id_map, indent=2, sort_keys=True))
582
+
578
583
return port_info_id_map
579
584
580
585
@@ -921,7 +926,7 @@ def port_diff(port_name, old_manifest, new_manifest):
921
926
print (f" - Added { file_name } " )
922
927
923
928
924
- def generate_ports_json (all_ports , port_status ):
929
+ def generate_ports_json (all_ports , port_status , old_manifest , new_manifest ):
925
930
ports_json_output = {
926
931
"ports" : {},
927
932
"utils" : {},
@@ -938,6 +943,9 @@ def generate_ports_json(all_ports, port_status):
938
943
port_status
939
944
)
940
945
946
+ ## Jank :|
947
+ build_new_images_zip (old_manifest , new_manifest , port_status )
948
+
941
949
utils = []
942
950
943
951
if (RELEASE_DIR / 'PortMaster.zip' ).is_file ():
@@ -1153,11 +1161,9 @@ def main(argv):
1153
1161
if '--do-check' not in argv :
1154
1162
build_images_zip (old_manifest , new_manifest )
1155
1163
1156
- build_new_images_zip (old_manifest , new_manifest , port_status )
1157
-
1158
1164
build_gameinfo_zip (old_manifest , new_manifest )
1159
1165
1160
- generate_ports_json (all_ports , port_status )
1166
+ generate_ports_json (all_ports , port_status , old_manifest , new_manifest )
1161
1167
1162
1168
errors = 0
1163
1169
warnings = 0
0 commit comments