mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-18 02:30:58 +01:00
build: add linux RPM target
This commit is contained in:
parent
36caa5c2d3
commit
7a864e0054
@ -1,55 +1,44 @@
|
|||||||
require('dotenv').config({ path: process.env.DOTENV_PATH });
|
require('dotenv').config({ path: process.env.DOTENV_PATH });
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
"appId": "com.usebruno.app",
|
appId: 'com.usebruno.app',
|
||||||
"productName": "Bruno",
|
productName: 'Bruno',
|
||||||
"electronVersion": "21.1.1",
|
electronVersion: '21.1.1',
|
||||||
"directories": {
|
directories: {
|
||||||
"buildResources": "resources",
|
buildResources: 'resources',
|
||||||
"output": "out"
|
output: 'out'
|
||||||
},
|
},
|
||||||
"files": [
|
files: ['**/*'],
|
||||||
"**/*"
|
afterSign: 'notarize.js',
|
||||||
],
|
mac: {
|
||||||
"afterSign": "notarize.js",
|
artifactName: '${name}_${version}_${arch}_${os}.${ext}',
|
||||||
"mac": {
|
category: 'public.app-category.developer-tools',
|
||||||
"artifactName": "${name}_${version}_${arch}_${os}.${ext}",
|
target: [
|
||||||
"category": "public.app-category.developer-tools",
|
|
||||||
"target": [
|
|
||||||
{
|
{
|
||||||
"target": "dmg",
|
target: 'dmg',
|
||||||
"arch": [
|
arch: ['x64', 'arm64']
|
||||||
"x64",
|
|
||||||
"arm64"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"target": "zip",
|
target: 'zip',
|
||||||
"arch": [
|
arch: ['x64', 'arm64']
|
||||||
"x64",
|
|
||||||
"arm64"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"icon": "resources/icons/mac/icon.icns",
|
icon: 'resources/icons/mac/icon.icns',
|
||||||
"hardenedRuntime": true,
|
hardenedRuntime: true,
|
||||||
"identity": "Anoop MD (W7LPPWA48L)",
|
identity: 'Anoop MD (W7LPPWA48L)',
|
||||||
"entitlements": "resources/entitlements.mac.plist",
|
entitlements: 'resources/entitlements.mac.plist',
|
||||||
"entitlementsInherit": "resources/entitlements.mac.plist"
|
entitlementsInherit: 'resources/entitlements.mac.plist'
|
||||||
},
|
},
|
||||||
"linux": {
|
linux: {
|
||||||
"artifactName": "${name}_${version}_${arch}_linux.${ext}",
|
artifactName: '${name}_${version}_${arch}_linux.${ext}',
|
||||||
"icon": "resources/icons/png",
|
icon: 'resources/icons/png',
|
||||||
"target": [
|
target: ['AppImage', 'deb', 'rpm']
|
||||||
"AppImage",
|
|
||||||
"deb"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"win": {
|
win: {
|
||||||
"artifactName": "${name}_${version}_${arch}_win.${ext}",
|
artifactName: '${name}_${version}_${arch}_win.${ext}',
|
||||||
"icon": "resources/icons/png",
|
icon: 'resources/icons/png',
|
||||||
"certificateFile": `${process.env.WIN_CERT_FILEPATH}`,
|
certificateFile: `${process.env.WIN_CERT_FILEPATH}`,
|
||||||
"certificatePassword": `${process.env.WIN_CERT_PASSWORD}`,
|
certificatePassword: `${process.env.WIN_CERT_PASSWORD}`
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user