Skip to content

Commit

Permalink
Add ARCH variable for npm build
Browse files Browse the repository at this point in the history
  • Loading branch information
cleardevice committed Sep 28, 2023
1 parent 67defb3 commit 22fe532
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shadowbox/server/build.action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ webpack --config=src/shadowbox/webpack.config.js ${BUILD_ENV:+--mode="${BUILD_EN

# Install third_party dependencies
readonly OS="$([[ "$(uname)" == "Darwin" ]] && echo "macos" || echo "linux")"
export ARCH=${ARCH:-x86_64}
readonly BIN_DIR="${OUT_DIR}/bin"
mkdir -p "${BIN_DIR}"
{
Expand Down

0 comments on commit 22fe532

Please sign in to comment.