hunk.code_window: 'use strict'
   const _ = require('lodash')
   const m = require('mochainon')
   const angular = require('angular')
   require('angular-mocks')
   const utils = require('../../../lib/shared/utils')
   describe('Browser: DriveSelector', function () {
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.file_path: tests/gui/components/drive-selector.spec.js
hunk.type: replace
file: 'use strict'
  
  const { notarize } = require('electron-notarize')
  
  async function main(context) {
    const { electronPlatformName, appOutDir } = context
    if (electronPlatformName !== 'darwin') {
      return
    }
  
    const appName = context.packager.appInfo.productFilename
    const appleId = 'accounts+apple@balena.io'
  
    await notarize({
      appBundleId: 'io.balena.etcher',
      appPath: `${appOutDir}/${appName}.app`,
      appleId,
      appleIdPassword: `@keychain:Application Loader: ${appleId}`
    })
  }
  
  exports.default = main
  