Skip to content

Commit

Permalink
check sign pkg/dmg files
Browse files Browse the repository at this point in the history
  • Loading branch information
panther7 committed Feb 25, 2024
1 parent 12c438d commit acac6bb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/check-signature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ const codesign = async (opts: NotarizeStapleOptions) => {
return result;
};
export async function checkSignatures(opts: NotarizeStapleOptions): Promise<void> {
const fileExt = path.extname(opts.appPath);
if (fileExt === '.dmg' || fileExt === '.pkg') {
d('skipping codesign check for dmg or pkg file');
return;
}
const [codesignResult, codesignInfo] = await Promise.all([codesign(opts), codesignDisplay(opts)]);
let error = '';

Expand Down

0 comments on commit acac6bb

Please sign in to comment.