diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2019-10-01 16:30:20 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2019-10-01 16:51:23 +0200 |
| commit | f061d2abe150f0d65d083d4c56de1c39f6064b3c (patch) | |
| tree | 66da18b6fa48c88834698788db23e94549e744c1 | |
| parent | 27da855d542f9e76a660ecba0319a280d313ee1b (diff) | |
| download | mullvadvpn-f061d2abe150f0d65d083d4c56de1c39f6064b3c.tar.xz mullvadvpn-f061d2abe150f0d65d083d4c56de1c39f6064b3c.zip | |
Async wait notarization
| -rw-r--r-- | gui/tasks/distribution.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/tasks/distribution.js b/gui/tasks/distribution.js index 393fc0d173..5aef4643a6 100644 --- a/gui/tasks/distribution.js +++ b/gui/tasks/distribution.js @@ -167,9 +167,9 @@ function packMac() { appOutDir = context.appOutDir; return Promise.resolve(); }, - afterAllArtifactBuild: (buildResult) => { + afterAllArtifactBuild: async (buildResult) => { if (!noAppleNotarization) { - notarizeMac(buildResult.artifactPaths[0]); + await notarizeMac(buildResult.artifactPaths[0]); } // remove the folder that contains the unpacked app return rimrafAsync(appOutDir); |
