2023-09-13 14:39:59 +02:00
|
|
|
require('dotenv').config({ path: process.env.DOTENV_PATH });
|
2023-08-28 19:44:40 +02:00
|
|
|
|
|
|
|
const config = {
|
2023-10-11 22:56:28 +02:00
|
|
|
appId: 'com.usebruno.app',
|
|
|
|
productName: 'Bruno',
|
|
|
|
electronVersion: '21.1.1',
|
|
|
|
directories: {
|
|
|
|
buildResources: 'resources',
|
|
|
|
output: 'out'
|
2023-08-28 19:44:40 +02:00
|
|
|
},
|
2023-10-11 22:56:28 +02:00
|
|
|
files: ['**/*'],
|
|
|
|
afterSign: 'notarize.js',
|
|
|
|
mac: {
|
|
|
|
artifactName: '${name}_${version}_${arch}_${os}.${ext}',
|
|
|
|
category: 'public.app-category.developer-tools',
|
|
|
|
target: [
|
2023-08-28 19:44:40 +02:00
|
|
|
{
|
2023-10-11 22:56:28 +02:00
|
|
|
target: 'dmg',
|
|
|
|
arch: ['x64', 'arm64']
|
2023-08-28 19:44:40 +02:00
|
|
|
},
|
|
|
|
{
|
2023-10-11 22:56:28 +02:00
|
|
|
target: 'zip',
|
|
|
|
arch: ['x64', 'arm64']
|
2023-08-28 19:44:40 +02:00
|
|
|
}
|
|
|
|
],
|
2023-10-11 22:56:28 +02:00
|
|
|
icon: 'resources/icons/mac/icon.icns',
|
|
|
|
hardenedRuntime: true,
|
|
|
|
identity: 'Anoop MD (W7LPPWA48L)',
|
|
|
|
entitlements: 'resources/entitlements.mac.plist',
|
|
|
|
entitlementsInherit: 'resources/entitlements.mac.plist'
|
2023-08-28 19:44:40 +02:00
|
|
|
},
|
2023-10-11 22:56:28 +02:00
|
|
|
linux: {
|
|
|
|
artifactName: '${name}_${version}_${arch}_linux.${ext}',
|
|
|
|
icon: 'resources/icons/png',
|
2023-10-12 07:41:58 +02:00
|
|
|
target: ['AppImage', 'deb', 'snap', 'rpm']
|
2023-08-28 19:44:40 +02:00
|
|
|
},
|
2023-10-11 22:56:28 +02:00
|
|
|
win: {
|
|
|
|
artifactName: '${name}_${version}_${arch}_win.${ext}',
|
|
|
|
icon: 'resources/icons/png',
|
|
|
|
certificateFile: `${process.env.WIN_CERT_FILEPATH}`,
|
|
|
|
certificatePassword: `${process.env.WIN_CERT_PASSWORD}`
|
2023-08-28 19:44:40 +02:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2023-10-11 22:56:28 +02:00
|
|
|
module.exports = config;
|