Download per platform

Hi! How can I create a page where I can offer a downloadable product but the file will be selected per operating system? for example, for MAC it will be DMG image, for Windows it will be ZIP file etc. What are the relevant APIs that can help it happen? Do you guys have any code snippets?


Check this page out: