From f7720f7d3263c58bbf9f77453cb25929e09dbffc Mon Sep 17 00:00:00 2001 From: ciregenz Date: Sun, 2 Aug 2026 20:12:05 -0700 Subject: [PATCH] [eric] vmp: sign-pkg wants the directory holding the app, not the app, or it finds nothing --- electron/build/after-pack.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/electron/build/after-pack.js b/electron/build/after-pack.js index 25b2f84b..a790d0d8 100644 --- a/electron/build/after-pack.js +++ b/electron/build/after-pack.js @@ -52,10 +52,10 @@ function signVmp(context) { return; } - // mac: sign the .app bundle; win: sign the unpacked dir holding the exe + framework. - const target = electronPlatformName === 'darwin' - ? path.join(appOutDir, `${packager.appInfo.productFilename}.app`) - : appOutDir; + // Both platforms: hand it the CONTAINING directory, never the .app itself. sign-pkg globs + // `/*.app`, so pointing at the bundle makes it search inside for a nested one and die with + // "No matching executable found" while the app sits right there. + const target = appOutDir; const py = resolveEvsPython(); try {