Skip to content

Commit

Permalink
fix: fix windows prepare script
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed May 4, 2024
1 parent 321ff1a commit b3c5ea4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/prepare-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ fi
mkdir win32-arm64 || true
cd win32-arm64

if which cygpath; then
SDK_ROOT=$(cygpath -w SDK)
else
SDK_ROOT=$(realpath SDK)
fi
SDK_ROOT=$(python -c "import os,sys; print(os.path.abspath(sys.argv[1]))" "SDK")

if [ ! -d SDK ]; then
# build from source
Expand Down

0 comments on commit b3c5ea4

Please sign in to comment.