Skip to content

Commit

Permalink
fix scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhuai committed Sep 14, 2021
1 parent 9210be0 commit f538932
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ install(CODE "execute_process(COMMAND \"${CMAKE_SOURCE_DIR}/build-zip.sh\"
\"${CMAKE_SOURCE_DIR}\"
\"${CMAKE_BINARY_DIR}/Odourless.app\"
\"${ODOURLESS_VERSION}\"
\"${CMAKE_BINARY_DIR}/dist\")")
\"${CMAKE_BINARY_DIR}/dist\"
\"${CMAKE_OSX_ARCHITECTURES}\")")
2 changes: 1 addition & 1 deletion build-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PROJECT_ROOT="$1"
SRC_APP="$2"
VERSION="$3"
DIST="$4"
ARCH=$(uname -m)
ARCH="$5"

echo "Clear dist"
rm -rf "${DIST}"
Expand Down

0 comments on commit f538932

Please # to comment.