From 1c56d27e20670c7811876724c45da54f10ce2af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=AE=E5=87=89?= <927625802@qq.com> Date: Thu, 4 Nov 2021 16:54:35 +0800 Subject: [PATCH] :green_heart: fix macOS build --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 7fb2c42200f..60fa42e97c9 100644 --- a/build.sh +++ b/build.sh @@ -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