-
Deploy your app first (to get a public URL)
npm run build # Deploy dist folder to Netlify/Vercel/etc. -
Use PWABuilder to generate packages:
- Go to: https://www.pwabuilder.com/
- Enter your deployed app URL
- Click "Start" → "Build My PWA"
- Download packages for each platform
-
Create a
public/downloadsfolder:public/ downloads/ app-android.apk app-windows.msix app-mac.dmg -
Place your generated files in this folder
When you build and deploy, the download links will work automatically:
npm run build
# Deploy dist folder (includes public/downloads)If files are too large for your hosting:
- Upload to cloud storage (Google Drive, Dropbox, etc.)
- Get shareable links
- Update download links in
src/pages/Landing.tsx
- Android APK: ~5-20 MB
- Windows MSIX: ~10-30 MB
- Mac DMG: ~10-30 MB
Most hosting services support files up to 100MB, so this should be fine.
- Build your app:
npm run build - Test locally:
npm run preview - Visit:
http://localhost:4173/downloads/app-android.apk - Verify file downloads correctly
The landing page now includes:
- ✅ Direct download buttons for Android, Windows, Mac, iOS
- ✅ Fallback to PWABuilder if files don't exist
- ✅ Clear instructions for each platform
- ✅ Professional UI with platform icons
- Generate packages using PWABuilder
- Add files to
public/downloads/ - Rebuild and redeploy
- Download links will work automatically!