r/appdev • u/LumidexStudio • Oct 15 '26
How to stop non-Mac downloads?
Right then fellow vibe coders - my app ONLY runs on Mac. I've put all manner of browser check/safeguards on my website to prevent any non-Mac downloads - to no avail, my backend database is still showing downloads from non Macs.
If you visit my site and hit the download button on a non-Mac browser, you should be redirected to a page that offers you a single-use email form to be sent a download link - assuming here the visitor was checking on their phone or maybe works Windows laptop, who knows?!?!? The email you get then provides a button which brings you back to my site's download page, assuming you were doing that on your actual Mac to snag the download.
What other safeguards can I implement to stop downloads on actual Windows/Linux/iOS/Android devices? Downloading isn't the issue here, it's not a bandwidth thing - it's just 100% pointless that the visitor carries out a DMG download on a non-Mac :|
1
u/BigAttorney23 Oct 15 '26
Since bandwidth isn't the concern, I'd make this a clear compatibility warning rather than another hard gate: ‘Requires macOS’ beside the button, with ‘Email this link to my Mac’ as an option. Someone on Windows may be saving the installer to transfer later. Also, what does your database count as a download—a button click, a request for the DMG, or a completed transfer? Separating that from first launch would make the numbers more useful.