electron-packager-languages

0.5.0 • Public • Published

Electron Packager Plugin: Languages

GitHub license Travis CI NPM Download Count Known Vulnerabilities

Reason

After packaging a MacOS application, it contains all possible languages whether it supports or not. Then all those languages are listed at the App Store. The folders of unsupported languages should be removed in order to hide those languages at the detail page of the product.

Usage

Use the afterCopy hook in Electron Packager to run this plugin.

const setLanguages = require('electron-packager-languages');

electronPackager({
  ...
  afterCopy: [setLanguages(['en', 'en_GB'])]
})

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.5.0
    227
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.5.0
    227
  • 0.4.1
    0
  • 0.4.0
    0
  • 0.3.0
    0
  • 0.1.0
    23

Package Sidebar

Install

npm i electron-packager-languages

Weekly Downloads

250

Version

0.5.0

License

MIT

Unpacked Size

5.61 kB

Total Files

4

Last publish

Collaborators

  • barinali