electron-icon

0.0.1 • Public • Published

diff enviroment electron desktop icon choose when build package

demo, can find dist/example

.
├── env.ts
├── index.js
├── package.json
├── srcDir
│   ├── dev
│   │   ├── index.html
│   │   └── index2.html
│   └── pre
│       ├── index.html
│       └── index2.html
├── tarDir
│   ├── index.html
│   └── index2.html
└── yarn.lock
# index.js


const {electronPackageIconCopy } = require('../dist')

const srcDir = `${__dirname}/srcDir`
const tarDir = `${__dirname}/tarDir`
const envFileTsPath = `${__dirname}/env.ts`
const envField = "env"

electronPackageIconCopy({
  srcDir,
  tarDir,
  envFileTsPath,
  envField
})

Package Sidebar

Install

npm i electron-icon

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

13.1 kB

Total Files

22

Last publish

Collaborators

  • chenhailong