Unverified 提交 5e6440ab authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Disable preEmbedProvisioningProfile not needed for non-Mac app store … (#2522)

…builds https://github.com/dyad-sh/dyad/actions/runs/21731969067/job/62688473027 #skip-bb logs: ``` > Name: Developer ID Application: William Chen (***) > Hash: 90560E040ED522CFE1B4FA8068B4FFDECD6E193F 2026-02-05T23:16:18.906Z electron-osx-sign Found 1 identity. 2026-02-05T23:16:18.906Z electron-osx-sign Pre-sign operation enabled for provisioning profile: * Disable by setting `pre-embed-provisioning-profile` to `false`. 2026-02-05T23:16:18.907Z electron-osx-sign No `provisioning-profile` passed in arguments, will find in current working directory and in user library... Finalizing package [FAILED: ENOENT: no such file or directory, stat '/Users/runner/work/dyad/dyad/CLAUDE.md'] Packaging for x64 on darwin [FAILED: ENOENT: no such file or directory, stat '/Users/runner/work/dyad/dyad/CLAUDE.md'] Packaging application [FAILED: ENOENT: no such file or directory, stat '/Users/runner/work/dyad/dyad/CLAUDE.md'] Running package command [FAILED: ENOENT: no such file or directory, stat '/Users/runner/work/dyad/dyad/CLAUDE.md'] Running make command [FAILED: ENOENT: no such file or directory, stat '/Users/runner/work/dyad/dyad/CLAUDE.md'] 25h An unhandled rejection has occurred inside Forge: Error: ENOENT: no such file or directory, stat '/Users/runner/work/dyad/dyad/CLAUDE.md' 2026-02-05T23:16:18.910Z electron-forge:plugin:vite handling process exit with: { cleanup: true } 2026-02-05T23:16:18.910Z electron-forge:plugin:vite handling process exit with: { cleanup: true } 2026-02-05T23:16:18.910Z electron-forge:plugin:vite handling process exit with: { cleanup: true } ``` <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2522" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end -->
上级 1595414f
......@@ -83,6 +83,9 @@ const config: ForgeConfig = {
// Surface the actual signing error instead of silently continuing
// (@electron/packager defaults continueOnError to true, which masks failures)
continueOnError: false,
// Skip provisioning profile search (not needed for Developer ID distribution,
// and the cwd scan crashes on broken symlinks like CLAUDE.md)
preEmbedProvisioningProfile: false,
} as Record<string, unknown>),
osxNotarize: isEndToEndTestBuild
? undefined
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论