Skip to content

Commit

Permalink
#162 Fix build for Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
rxseb committed Dec 11, 2020
1 parent febb23b commit ac4969e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/build-engine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ source scripts/common.sh

rm -rf dist/build
build_electron "akos-engine"
DIR=$(ls -d dist/build/akos-engine/*-unpacked)
mv "$DIR" "${DIR/-unpacked/}"

if [ ! -d dist/build/akos-engine/mac ]; then
DIR=$(ls -d dist/build/akos-engine/*-unpacked)
mv "$DIR" "${DIR/-unpacked/}"
fi

0 comments on commit ac4969e

Please sign in to comment.