bruno/packages/bruno-electron/electron-builder-config.js
lohit 9892f7cd40
Feat/electron bump (#2668)
* pr review changes

* collection root object in export json

* import environment updates

* tests run execution order fix for collection runs

* updated validations

* accept request flag in curl string for method type

* electron version bump to v31.2.1
2024-07-19 16:29:10 +05:30

46 lines
1.2 KiB
JavaScript

require('dotenv').config({ path: process.env.DOTENV_PATH });
const config = {
appId: 'com.usebruno.app',
productName: 'Bruno',
electronVersion: '31.2.1',
directories: {
buildResources: 'resources',
output: 'out'
},
files: ['**/*'],
afterSign: 'notarize.js',
mac: {
artifactName: '${name}_${version}_${arch}_${os}.${ext}',
category: 'public.app-category.developer-tools',
target: [
{
target: 'dmg',
arch: ['x64', 'arm64']
},
{
target: 'zip',
arch: ['x64', 'arm64']
}
],
icon: 'resources/icons/mac/icon.icns',
hardenedRuntime: true,
identity: 'Anoop MD (W7LPPWA48L)',
entitlements: 'resources/entitlements.mac.plist',
entitlementsInherit: 'resources/entitlements.mac.plist'
},
linux: {
artifactName: '${name}_${version}_${arch}_linux.${ext}',
icon: 'resources/icons/png',
target: ['AppImage', 'deb', 'snap', 'rpm']
},
win: {
artifactName: '${name}_${version}_${arch}_win.${ext}',
icon: 'resources/icons/png',
certificateFile: `${process.env.WIN_CERT_FILEPATH}`,
certificatePassword: `${process.env.WIN_CERT_PASSWORD}`
}
};
module.exports = config;