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 + // `