From acac6bb13c643e9d01923ccdbfc56347bf3fcf4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20M=C3=B6sner?= Date: Sun, 25 Feb 2024 13:15:06 +0100 Subject: [PATCH] check sign pkg/dmg files --- src/check-signature.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/check-signature.ts b/src/check-signature.ts index 8730187..1dfec7f 100644 --- a/src/check-signature.ts +++ b/src/check-signature.ts @@ -25,11 +25,6 @@ const codesign = async (opts: NotarizeStapleOptions) => { return result; }; export async function checkSignatures(opts: NotarizeStapleOptions): Promise { - 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 = '';