diff --git a/packages/app-desktop/tools/notarizeMacApp.js b/packages/app-desktop/tools/notarizeMacApp.js index dfcc49aa4d..3a9dfce5ed 100644 --- a/packages/app-desktop/tools/notarizeMacApp.js +++ b/packages/app-desktop/tools/notarizeMacApp.js @@ -45,6 +45,13 @@ module.exports = async function(params) { console.log(`Notarizing ${appId} found at ${appPath}`); + // Every x seconds we print something to stdout, otherwise Travis will + // timeout the task after 10 minutes, and Apple notarization can take more + // time. + const waitingIntervalId = setInterval(() => { + console.log('.'); + }, 60000); + await electron_notarize.notarize({ appBundleId: appId, appPath: appPath, @@ -66,6 +73,8 @@ module.exports = async function(params) { ascProvider: process.env.APPLE_ASC_PROVIDER, }); + clearInterval(waitingIntervalId); + // It appears that electron-notarize doesn't staple the app, but without // this we were still getting the malware warning when launching the app. // Stapling the app means attaching the notarization ticket to it, so that