From 1706131a803edbff43b1cb1ba1acdbe58a3fe679 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Thu, 5 Sep 2024 16:50:38 -0700 Subject: [PATCH] use resolve for packageBinDir for posterity --- electron-builder.config.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron-builder.config.cjs b/electron-builder.config.cjs index ad665fa7f..6e691755a 100644 --- a/electron-builder.config.cjs +++ b/electron-builder.config.cjs @@ -88,7 +88,7 @@ const config = { afterPack: (context) => { // This is a workaround to restore file permissions to the wavesrv binaries on macOS after packaging the universal binary. if (context.electronPlatformName === "darwin" && context.arch === Arch.universal) { - const packageBinDir = path.join( + const packageBinDir = path.resolve( context.appOutDir, `${pkg.name}.app/Contents/Resources/app.asar.unpacked/dist/bin` );