[PM-1691] Upgrade electron builder (#5038)
* Upgrade electron builder * Fix after-sign * Allow singleArch * Add CSC_FOR_PULL_REQUEST
This commit is contained in:
parent
7263579eaf
commit
3a4a79d057
|
@ -775,6 +775,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
|
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
|
||||||
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
||||||
|
CSC_FOR_PULL_REQUEST: true
|
||||||
run: npm run pack:mac
|
run: npm run pack:mac
|
||||||
|
|
||||||
- name: Upload .zip artifact
|
- name: Upload .zip artifact
|
||||||
|
@ -972,6 +973,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
|
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
|
||||||
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
||||||
|
CSC_FOR_PULL_REQUEST: true
|
||||||
|
|
||||||
- name: Upload .pkg artifact
|
- name: Upload .pkg artifact
|
||||||
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535
|
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535
|
||||||
|
|
|
@ -66,6 +66,7 @@
|
||||||
],
|
],
|
||||||
"CFBundleDevelopmentRegion": "en"
|
"CFBundleDevelopmentRegion": "en"
|
||||||
},
|
},
|
||||||
|
"singleArchFiles": "node_modules/@bitwarden/desktop-native/desktop_native.darwin-*.node",
|
||||||
"target": ["dmg", "zip"]
|
"target": ["dmg", "zip"]
|
||||||
},
|
},
|
||||||
"win": {
|
"win": {
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
require("dotenv").config();
|
require("dotenv").config();
|
||||||
const path = require("path");
|
const path = require("path");
|
||||||
|
|
||||||
|
const { notarize } = require("@electron/notarize");
|
||||||
const { deepAssign } = require("builder-util");
|
const { deepAssign } = require("builder-util");
|
||||||
const { notarize } = require("electron-notarize");
|
|
||||||
const fse = require("fs-extra");
|
const fse = require("fs-extra");
|
||||||
|
|
||||||
exports.default = run;
|
exports.default = run;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -41,6 +41,8 @@
|
||||||
"@angular/compiler-cli": "^15.2.2",
|
"@angular/compiler-cli": "^15.2.2",
|
||||||
"@angular/elements": "^15.2.2",
|
"@angular/elements": "^15.2.2",
|
||||||
"@compodoc/compodoc": "^1.1.19",
|
"@compodoc/compodoc": "^1.1.19",
|
||||||
|
"@electron/notarize": "^1.2.3",
|
||||||
|
"@electron/rebuild": "^3.2.10",
|
||||||
"@fluffy-spoon/substitute": "^1.208.0",
|
"@fluffy-spoon/substitute": "^1.208.0",
|
||||||
"@ngtools/webpack": "^15.2.2",
|
"@ngtools/webpack": "^15.2.2",
|
||||||
"@storybook/addon-a11y": "^6.5.16",
|
"@storybook/addon-a11y": "^6.5.16",
|
||||||
|
@ -86,7 +88,7 @@
|
||||||
"css-loader": "^6.5.1",
|
"css-loader": "^6.5.1",
|
||||||
"del": "^6.0.0",
|
"del": "^6.0.0",
|
||||||
"electron": "21.3.1",
|
"electron": "21.3.1",
|
||||||
"electron-builder": "22.11.10",
|
"electron-builder": "^23.6.0",
|
||||||
"electron-log": "^4.4.8",
|
"electron-log": "^4.4.8",
|
||||||
"electron-notarize": "^1.2.2",
|
"electron-notarize": "^1.2.2",
|
||||||
"electron-rebuild": "^3.2.9",
|
"electron-rebuild": "^3.2.9",
|
||||||
|
|
Loading…
Reference in New Issue