fix: uname -s

This commit is contained in:
Del Wang
2025-04-18 22:13:03 +08:00
parent 29f4f77c7a
commit 9506c83223
+1 -1
View File
@@ -10,7 +10,7 @@ RESET='\033[m'
UPDATE_BIN="macos/update"
# 检查运行环境
if [ "$(uname -o)" != "Darwin" ]; then
if [ "$(uname -s)" != "Darwin" ]; then
echo "❌ 该脚本只支持 macOS 运行"
exit 1
fi