mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-08-17 18:25:42 +02:00
[eric] vmp: sign-pkg wants the directory holding the app, not the app, or it finds nothing
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user