Skip to content

Localized stores badges for Appstore (iOS) and Playstore (Android)

Notifications You must be signed in to change notification settings

ziadsarour/stores-badges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Appstore (iOS)

Downloaded from : https://developer.apple.com/app-store/marketing/guidelines

Playstore (Android)

Downloaded from : https://play.google.com/intl/en_us/badges

Use this script in browser console to automate downloading for all locales

(async () => {
  const locales = [...document.querySelectorAll('select#locale option')].map(el => el.value);
  const btn = document.querySelector('#download-btn');

  for (const locale of locales) {
    btn.setAttribute('download', `${locale}.png`);
    btn.setAttribute('href', `static/images/badges/${locale}_badge_web_generic.png`);
    await new Promise(resolve => setTimeout(resolve, 50));
    btn.click();
    await new Promise(resolve => setTimeout(resolve, 250));
  }
})();

Cleaner

Use cleaner.sh to clean images (transparent background and trimmed). Only works with png files.

Should be executed at the root of this folder with the store (appstore | playstore) and a color (black | white) : sh ./cleaner.sh appstore white sh ./cleaner.sh playstore black

Output files will be located at _cleaned/{store}/{color}/{locale}.png.

About

Localized stores badges for Appstore (iOS) and Playstore (Android)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages