Skip to content

Instantly share code, notes, and snippets.

View rrlevy's full-sized avatar

rrlevy

View GitHub Profile
@rrlevy
rrlevy / CORDOVA_RESOURCES_GENERATOR.md
Last active November 9, 2021 10:53 — forked from dalezak/README.md
Ionic Capacitor Resources Generator
  1. Run npm install cordova-res --save-dev
  2. Create 1024x1024px icon at resources/icon.png
  3. Create 2732x2732px splash at resources/splash.png
  4. Add "resources": "cordova-res ios && cordova-res android && node scripts/resources.js" to scripts in package.json
  5. Copy resources.js file to scripts/resources.js
  6. Run sudo chmod -R 777 scripts/resources.js
  7. Run npm run resources