use resolve for packageBinDir for posterity

This commit is contained in:
Evan Simkowitz 2024-09-05 16:50:38 -07:00
parent d58d09e013
commit 1706131a80
No known key found for this signature in database

View File

@ -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`
);