mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
use resolve for packageBinDir for posterity
This commit is contained in:
parent
d58d09e013
commit
1706131a80
@ -88,7 +88,7 @@ const config = {
|
|||||||
afterPack: (context) => {
|
afterPack: (context) => {
|
||||||
// This is a workaround to restore file permissions to the wavesrv binaries on macOS after packaging the universal binary.
|
// 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) {
|
if (context.electronPlatformName === "darwin" && context.arch === Arch.universal) {
|
||||||
const packageBinDir = path.join(
|
const packageBinDir = path.resolve(
|
||||||
context.appOutDir,
|
context.appOutDir,
|
||||||
`${pkg.name}.app/Contents/Resources/app.asar.unpacked/dist/bin`
|
`${pkg.name}.app/Contents/Resources/app.asar.unpacked/dist/bin`
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user