<commit_before>'use strict';

const builder = require('electron-builder');

builder
  .build({
    mac: ['mas'],
    linux: ['snap'],
    win: ['appx'],
    config: {
      appId: '*PACKAGENAMEIDDESKTOP*',
      productName: '*USERVISIBLENAME*',
      afterPack: './electron/afterPack.js',
      files: [
        './electron/main.js',
        './package.json',
        './www/**/*',
        './build',
        '!./node_modules/.cache/',
        '!./**/*.map'
      ],
      protocols: {
        name: 'URL protocol schemes',
        schemes: ['bitcoin', 'bitcoincash', 'bchtest', 'ethereum', '*NAME*']
      },
      mac: {
        category: 'public.app-category.finance',
        icon: 'resources/*NAME*/mac/app.icns',
        asarUnpack: ['**/*.node'],
        gatekeeperAssess: false,
        artifactName: '*USERVISIBLENAME*',
        darkModeSupport: false,
        identity: 'BitPay, Inc. (884JRH5R93)',
        extendInfo: {
          NSCameraUsageDescription:
            'Scan a Bitcoin Address directly to your Wallet and send funds to it'
        },
        target: ['mas']
      },
      mas: {
        artifactName: '*USERVISIBLENAME*.pkg',
        identity: 'BitPay, Inc. (884JRH5R93)',
        hardenedRuntime: false,
        entitlements: './*PACKAGENAME*-entitlements.mas.plist',
        provisioningProfile: './*PACKAGENAME*-embedded.provisionprofile'
      },
      dmg: {
        artifactName: '*USERVISIBLENAME*.dmg',<commit_msg>Removes unnecessary asarUnpack<commit_after>'use strict';

const builder = require('electron-builder');

builder
  .build({
    mac: ['mas'],
    linux: ['snap'],
    win: ['appx'],
    config: {
      appId: '*PACKAGENAMEIDDESKTOP*',
      productName: '*USERVISIBLENAME*',
      afterPack: './electron/afterPack.js',
      files: [
        './electron/main.js',
        './package.json',
        './www/**/*',
        './build',
        '!./node_modules/.cache/',
        '!./**/*.map'
      ],
      protocols: {
        name: 'URL protocol schemes',
        schemes: ['bitcoin', 'bitcoincash', 'bchtest', 'ethereum', '*NAME*']
      },
      mac: {
        category: 'public.app-category.finance',
        icon: 'resources/*NAME*/mac/app.icns',
        gatekeeperAssess: false,
        artifactName: '*USERVISIBLENAME*',
        darkModeSupport: false,
        identity: 'BitPay, Inc. (884JRH5R93)',
        extendInfo: {
          NSCameraUsageDescription:
            'Scan a Bitcoin Address directly to your Wallet and send funds to it'
        },
        target: ['mas']
      },
      mas: {
        artifactName: '*USERVISIBLENAME*.pkg',
        identity: 'BitPay, Inc. (884JRH5R93)',
        hardenedRuntime: false,
        entitlements: './*PACKAGENAME*-entitlements.mas.plist',
        provisioningProfile: './*PACKAGENAME*-embedded.provisionprofile'
      },
      dmg: {
        artifactName: '*USERVISIBLENAME*.dmg',
{'fraction_non_alphanumeric': 0.16689798750867454, 'fraction_numerical': 0.008327550312283136, 'mean_word_length': 2.1926910299003324, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3733183', 'n_tokens_mistral': 952, 'n_tokens_neox': 905, 'n_words': 175}