Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions src/main/lib/ipc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,17 @@ export function register(callbacks: RegisterCallbacks = {}): Promise<void> {
return
}

// The "build it" hint is for developers. A packaged app that reaches
// here ships no bootstrap for its platform (Linux ARM64 today), so the
// command does not exist for the user and the log would send whoever
// reads it — support included — after a packaging defect that isn't one.
console.warn(
'[ipc] Bootstrap pygit2 not available — bootstrap-python/<platform>/ is missing. ' +
'Run "pnpm run bootstrap" (or "pnpm run bootstrap:fetch") to build it. ' +
'Falling back to standalone-install pygit2 / system git.'
app.isPackaged
? `[ipc] No bundled bootstrap python for ${process.platform}-${process.arch}. ` +
'Falling back to standalone-install pygit2 / system git.'
: '[ipc] Bootstrap pygit2 not available — bootstrap-python/<platform>/ is missing. ' +
'Run "pnpm run bootstrap" (or "pnpm run bootstrap:fetch") to build it. ' +
'Falling back to standalone-install pygit2 / system git.'
)

if (forceBootstrap) {
Expand Down
Loading