mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-15 20:01:28 +00:00
74 lines
1.7 KiB
JavaScript
74 lines
1.7 KiB
JavaScript
require('dotenv').config({ path: process.env.DOTENV_PATH });
|
|
|
|
const config = {
|
|
appId: 'com.usebruno.app',
|
|
productName: 'Bruno',
|
|
electronVersion: '33.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']
|
|
},
|
|
deb: {
|
|
// Docs: https://www.electron.build/configuration/linux#debian-package-options
|
|
depends: [
|
|
'libgtk-3-0',
|
|
'libnotify4',
|
|
'libnss3',
|
|
'libxss1',
|
|
'libxtst6',
|
|
'xdg-utils',
|
|
'libatspi2.0-0',
|
|
'libuuid1',
|
|
'libsecret-1-0',
|
|
'libasound2' // #1036
|
|
]
|
|
},
|
|
win: {
|
|
artifactName: '${name}_${version}_${arch}_win.${ext}',
|
|
icon: 'resources/icons/win/icon.ico',
|
|
target: [
|
|
{
|
|
target: 'nsis',
|
|
arch: ['x64']
|
|
}
|
|
],
|
|
sign: null,
|
|
publisherName: 'Bruno Software Inc'
|
|
},
|
|
nsis: {
|
|
oneClick: false,
|
|
allowToChangeInstallationDirectory: true,
|
|
allowElevation: true,
|
|
createDesktopShortcut: true,
|
|
createStartMenuShortcut: true
|
|
}
|
|
};
|
|
|
|
module.exports = config;
|