INNER CODE UNIT · Python
merged
pluwen/awesome-testflight-link · scripts/batch_add_link.py:140
merged = list(dict.fromkeys(old_platforms + tables))
link_info["app_name"] = app_name
link_info["status"] = status
link_info["tables"] = merged
link_info["last_modify"] = TODAY
if set(old_platforms) != set(merged):
print(f" [~] {app_name} ({key}) → {status}, platforms: {old_platforms} → {merged}")
else:
print(f" [=] {app_name} ({key}) → {status} (updated)")
updated_count += 1
save_links(links_data)
print()
print(f"[info] Batch complete: {added_count} added, {updated_count} updated, {len(link_ids)} total")
# Regenerate README