We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 571ebac commit df2d00dCopy full SHA for df2d00d
src/check-signature.ts
@@ -25,6 +25,11 @@ const codesign = async (opts: NotarizeStapleOptions) => {
25
return result;
26
};
27
export async function checkSignatures(opts: NotarizeStapleOptions): Promise<void> {
28
+ const fileExt = path.extname(opts.appPath);
29
+ if (fileExt === '.dmg' || fileExt === '.pkg') {
30
+ d('skipping codesign check for dmg or pkg file');
31
+ return;
32
+ }
33
const [codesignResult, codesignInfo] = await Promise.all([codesign(opts), codesignDisplay(opts)]);
34
let error = '';
35
0 commit comments