[eric] vmp: sign-pkg wants the directory holding the app, not the app, or it finds nothing

This commit is contained in:
ciregenz
2026-08-02 20:12:05 -07:00
parent 171b4544ff
commit f7720f7d32
+4 -4
View File
@@ -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
// `<dir>/*.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 {