<reponame>fossabot/bartender<gh_stars>1-10
const baseConfig = require('./build.base.config')

/**
 * @type {import('electron-builder').Configuration}
 */
const config = {
  ...baseConfig,
  mac: {
    icon: 'build/icons/icon.icns',
    target: [
      {
        target: 'zip'
      }
    ],
    files: [
      // 'node_modules/7zip-bin/**/*',
      // '!node_modules/7zip-bin/linux/**',
      // '!node_modules/7zip-bin/win/**'
    ]
  },
  win: {
    icon: 'build/icons/icon.ico',
    target: [
      {
        target: 'zip',
        arch: [
          'x64',
          'ia32'
        ]
      }
    ],
    files: [
      // 'node_modules/7zip-bin/**/*',
      // '!node_modules/7zip-bin/linux/**',
      // '!node_modules/7zip-bin/mac/**'
    ]
  },
  linux: {
    icon: 'build/icons',
    target: [
      {
        target: 'tar.gz'
      }
    ],
    files: [
      // 'node_modules/7zip-bin/**/*',
      // '!node_modules/7zip-bin/win/**',
      // '!node_modules/7zip-bin/mac/**'
    ]
  }
}

module.exports = config
