fix(artifacts): diagnose unpacked ASAR integrity failures

This commit is contained in:
morluto
2026-07-13 17:00:37 +08:00
parent e933489fb5
commit a504342d2b
9 changed files with 68 additions and 6 deletions
+1
View File
@@ -43,6 +43,7 @@ export class AsarArtifactReader implements ArtifactReader {
/^[a-f0-9]{64}$/u.test(metadata.integrity.hash)
? metadata.integrity.hash
: null,
unpacked: "unpacked" in metadata && metadata.unpacked === true,
limitations:
kind === "symlink"
? ["ASAR symlink target was not followed or disclosed."]