Skip to content

Commit

Permalink
💚 fix macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Nov 4, 2021
1 parent 4da655c commit 1c56d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ cp -R ../alist-web/dist/* public
if [ "$1" == "release" ]; then
xgo -out alist -ldflags="$ldflags" .
else
xgo -targets=linux/amd64,windows/amd64,macos/amd64 -out alist -ldflags="$ldflags" .
xgo -targets=linux/amd64,windows/amd64,darwin/amd64 -out alist -ldflags="$ldflags" .
fi
mkdir "build"
mv alist-* build
Expand Down

0 comments on commit 1c56d27

Please sign in to comment.