Skip to content

Commit

Permalink
fix: ignore com.apple.idms.appleid.prd. certs
Browse files Browse the repository at this point in the history
Closes #510
  • Loading branch information
develar committed Jun 16, 2016
1 parent c3679e7 commit b69d3ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/codeSign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,11 @@ export async function findIdentity(namePrefix: CertType, qualifier?: string): Pr
}

// /~https://github.com/electron-userland/electron-builder/issues/484
//noinspection SpellCheckingInspection
const lines = (await findIdentityRawResult)
.trim()
.split("\n")
.filter(it => !it.includes("(Missing required extension)") && !it.includes("valid identities found") && !it.includes("iPhone "))
.filter(it => !it.includes("(Missing required extension)") && !it.includes("valid identities found") && !it.includes("iPhone ") && !it.includes("com.apple.idms.appleid.prd."))

for (let line of lines) {
if (qualifier != null && !line.includes(qualifier)) {
Expand Down

0 comments on commit b69d3ab

Please sign in to comment.