Skip to content

Commit c14d293

Browse files
authored
Merge pull request #45 from ubidefeo/main
Update notarize.js
2 parents 1d87f82 + 265a243 commit c14d293

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Diff for: .github/workflows/build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5050
AC_USERNAME: ${{ secrets.AC_USERNAME }}
5151
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
52+
AC_TEAM_ID: ${{ secrets.AC_TEAM_ID }}
5253
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
5354
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
5455
# IS_NIGHTLY: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') }}

Diff for: build_resources/notarize.js

+2
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ exports.default = async function notarizing(context) {
3535
console.log(`>>> Notarizing ${appBundleId} at ${appOutDir}/${appName}.app...`);
3636

3737
return await notarize({
38+
tool: 'notarytool',
3839
appBundleId,
3940
appPath: `${appOutDir}/${appName}.app`,
4041
appleId: process.env.AC_USERNAME,
4142
appleIdPassword: process.env.AC_PASSWORD,
43+
teamId: process.env.AC_TEAM_ID,
4244
});
4345
};

0 commit comments

Comments
 (0)