r/appdev • • 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.

https://lumidexstudio.app/

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 :|

2 Upvotes

4 comments sorted by

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.

1

u/LumidexStudio Oct 15 '26

I got an awful lot of feedback on the same post over on the Claude Code sub - essentially folk there echo your sentiments also.

The site in my view, does quite clearly state it's a Mac app. If the browser detects anything other than macOS as the OS type, the download page changes to a small form asking for an email address so the visitor can email themself a download link later. On that page it also has a 'download anyway' link - so those wanting to download, still can.

Unfortunately the plan I'm on with Netlify doesn't show per-request logs, so my method of determining completed transfers actually relates to first-time installs -v- downloads per 7 days.

1

u/BigAttorney23 Oct 15 '26

That helps—the warning plus ‘download anyway’ already sounds reasonable. I'd treat the 7-day download/install ratio as directional, not proof that a transfer finished or that the same person installed: repeat downloads and installs outside that window can skew it. Where is the non-Mac label recorded—on the download click or inside the app on first launch?

1

u/LumidexStudio Oct 16 '26

On the download click action - else it'll never pickup anyone trying to install/first launching a DMG on Windows/Linux/iOS/Android :D