mirror of
https://github.com/bitwarden/browser
synced 2026-01-22 04:13:49 +00:00
Changes the publisher to match the Bitwarden signing certificate, and allows signing of .appx files. Also removes unused certificateSubjectName parameters from package.json
141 lines
3.2 KiB
JSON
141 lines
3.2 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
|
|
|
|
"extraMetadata": {
|
|
"name": "bitwarden-beta"
|
|
},
|
|
"productName": "Bitwarden Beta",
|
|
"appId": "com.bitwarden.desktop.beta",
|
|
"buildDependenciesFromSource": true,
|
|
"copyright": "Copyright © 2015-2026 Bitwarden Inc.",
|
|
"directories": {
|
|
"buildResources": "resources",
|
|
"output": "dist",
|
|
"app": "build"
|
|
},
|
|
"afterSign": "scripts/after-sign.js",
|
|
"afterPack": "scripts/after-pack.js",
|
|
"beforePack": "scripts/before-pack.js",
|
|
"files": [
|
|
"!node_modules/@bitwarden/desktop-napi/scripts",
|
|
"!node_modules/@bitwarden/desktop-napi/src",
|
|
"!node_modules/@bitwarden/desktop-napi/Cargo.toml",
|
|
"!node_modules/@bitwarden/desktop-napi/build.rs",
|
|
"!node_modules/@bitwarden/desktop-napi/package.json"
|
|
],
|
|
"electronVersion": "37.7.0",
|
|
"generateUpdatesFilesForAllChannels": true,
|
|
"publish": {
|
|
"provider": "generic",
|
|
"url": "https://artifacts.bitwarden.com/desktop"
|
|
},
|
|
"win": {
|
|
"electronUpdaterCompatibility": ">=0.0.1",
|
|
"target": ["portable", "nsis-web", "appx"],
|
|
"signtoolOptions": {
|
|
"sign": "./sign.js"
|
|
},
|
|
"extraFiles": [
|
|
{
|
|
"from": "desktop_native/dist/desktop_proxy.win32-${arch}.exe",
|
|
"to": "desktop_proxy.exe"
|
|
},
|
|
{
|
|
"from": "desktop_native/dist/bitwarden_chromium_import_helper.win32-${arch}.exe",
|
|
"to": "bitwarden_chromium_import_helper.exe"
|
|
}
|
|
]
|
|
},
|
|
"nsisWeb": {
|
|
"oneClick": false,
|
|
"perMachine": false,
|
|
"allowToChangeInstallationDirectory": false,
|
|
"artifactName": "Bitwarden-Beta-Installer-${version}.${ext}",
|
|
"uninstallDisplayName": "${productName}",
|
|
"deleteAppDataOnUninstall": true,
|
|
"include": "installer.nsh"
|
|
},
|
|
"portable": {
|
|
"artifactName": "Bitwarden-Beta-Portable-${version}.${ext}"
|
|
},
|
|
"appx": {
|
|
"artifactName": "Bitwarden-Beta-${version}-${arch}.${ext}",
|
|
"backgroundColor": "#175DDC",
|
|
"customManifestPath": "./custom-appx-manifest.xml",
|
|
"applicationId": "BitwardenBeta",
|
|
"identityName": "8bitSolutionsLLC.BitwardenBeta",
|
|
"publisher": "CN=Bitwarden Inc., O=Bitwarden Inc., L=Santa Barbara, S=California, C=US, SERIALNUMBER=7654941, OID.2.5.4.15=Private Organization, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware, OID.1.3.6.1.4.1.311.60.2.1.3=US",
|
|
"publisherDisplayName": "Bitwarden Inc",
|
|
"languages": [
|
|
"en-US",
|
|
"af",
|
|
"ar",
|
|
"az-latn",
|
|
"be",
|
|
"bg",
|
|
"bn",
|
|
"bs",
|
|
"ca",
|
|
"cs",
|
|
"cy",
|
|
"da",
|
|
"de",
|
|
"el",
|
|
"en-gb",
|
|
"en-in",
|
|
"es",
|
|
"et",
|
|
"eu",
|
|
"fa",
|
|
"fi",
|
|
"fil",
|
|
"fr",
|
|
"gl",
|
|
"he",
|
|
"hi",
|
|
"hr",
|
|
"hu",
|
|
"id",
|
|
"it",
|
|
"ja",
|
|
"ka",
|
|
"km",
|
|
"kn",
|
|
"ko",
|
|
"lt",
|
|
"lv",
|
|
"ml",
|
|
"mr",
|
|
"nb",
|
|
"ne",
|
|
"nl",
|
|
"nn",
|
|
"or",
|
|
"pl",
|
|
"pt-br",
|
|
"pt-pt",
|
|
"ro",
|
|
"ru",
|
|
"si",
|
|
"sk",
|
|
"sl",
|
|
"sr-cyrl",
|
|
"sv",
|
|
"ta",
|
|
"te",
|
|
"th",
|
|
"tr",
|
|
"uk",
|
|
"vi",
|
|
"zh-cn",
|
|
"zh-tw"
|
|
]
|
|
},
|
|
"protocols": [
|
|
{
|
|
"name": "Bitwarden",
|
|
"schemes": ["bitwarden"]
|
|
}
|
|
]
|
|
}
|