Skip to content

Commit

Permalink
fix: add warning for using legacy altool (#140)
Browse files Browse the repository at this point in the history
* fix: add warning for using legacy altool

* Apply suggestions from code review

Co-authored-by: Erick Zhao <[email protected]>

---------

Co-authored-by: Erick Zhao <[email protected]>
  • Loading branch information
MarshallOfSound and erickzhao authored Jun 14, 2023
1 parent 295c39d commit c274c5b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ export async function notarize({ appPath, ...otherOptions }: NotarizeOptions) {
...otherOptions,
});
} else {
console.warn(
'Notarizing using the legacy altool system. The altool system will be disabled on November 1 2023. Please switch to the notarytool system before then.',
);
console.warn(
'You can do this by setting "tool: notarytool" in your "@electron/notarize" options. Please note that the credentials options may be slightly different between tools.',
);
d('notarizing using the legacy notarization system, this will be slow');
const { uuid } = await startLegacyNotarize({
appPath,
Expand Down

0 comments on commit c274c5b

Please sign in to comment.