Skip to content

Commit 1644a9b

Browse files
committed
新增:MacOS 打包使用官方证书
1 parent 64cda61 commit 1644a9b

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/main-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
strategy:
1414
matrix:
1515
include:
16-
- os: ubuntu-latest
17-
arch: [arm64, amd64]
16+
# - os: ubuntu-latest
17+
# arch: [arm64, amd64]
1818
- os: macos-latest
1919
arch: [arm64, amd64]
20-
- os: windows-latest
21-
arch: [arm64, amd64]
20+
# - os: windows-latest
21+
# arch: [arm64, amd64]
2222

2323
steps:
2424
- name: Checkout Code

scripts/notarize.cjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
process.env.DEBUG = 'electron-notarize*'
2-
31
const {notarize} = require("@electron/notarize");
42

53
exports.default = async function notarizing(context) {
@@ -30,6 +28,7 @@ exports.default = async function notarizing(context) {
3028
appleId: APPLE_ID,
3129
appleIdPassword: APPLE_ID_PASSWORD,
3230
teamId: APPLE_TEAM_ID,
31+
verbose: true,
3332
}
3433
console.log(` • Notarizing`, `appPath:${appPath} notarizeOption:${JSON.stringify(notarizeOption)}`);
3534
return await notarize(notarizeOption);

0 commit comments

Comments
 (0)