Skip to content

Commit be378e5

Browse files
committed
Exclude dependency instructions from Mac app
Signed-off-by: Joseph Yaksich <gitcommit90@users.noreply.github.com>
1 parent 0b0dfcf commit be378e5

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/package-mac-dmg.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ async function main() {
197197
overwrite: true,
198198
prune: true,
199199
asar: false,
200-
ignore: [IGNORE_NON_RUNTIME_ROOTS, /\.DS_Store$/, /\.log$/],
200+
ignore: [IGNORE_NON_RUNTIME_ROOTS, /\/AGENTS\.md$/, /\.DS_Store$/, /\.log$/],
201201
extendInfo: {
202202
CFBundleDisplayName: PRODUCT,
203203
CFBundleName: PRODUCT,

test/desktop.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ test("release packaging is fail-closed and records stable product identity", asy
235235
assert.match(source, /verifyApp\(extractedApp, true\)/, "the extracted updater app passes signature, ticket, and Gatekeeper checks");
236236
assert.match(source, /"--sign", "-", candidate/);
237237
assert.match(source, /Library\/LaunchAgents/, "release packaging rejects legacy background-agent payloads");
238+
assert.match(source, /\/AGENTS\\\.md\$/, "release packaging excludes dependency instruction files before signing");
238239
assert.match(source, /Library\/Application Support\/1Helm/);
239240
assert.match(source, /installProductIcon/);
240241
assert.match(source, /desktop", "icons", "1helm-macos-app-logo\.jpg/);

0 commit comments

Comments
 (0)