Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. 1. Run `npm install cordova-res --save-dev`
  2. 2. Create `1024x1024px` icon at `resources/icon.png`
  3. 3. Create `2732x2732px` splash at `resources/splash.png`
  4. 4. Add `"resources": "cordova-res ios && cordova-res android && node scripts/resources.js"` to `scripts` in `package.json`
  5. 5. Copy `resources.js` file to `scripts/resources.js`
  6. 6. Run `sudo chmod -R 777 scripts/resources.js`
  7. 7. Run `npm run resources`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement