Merge pull request #37 from missuo/master

fix: install script on macos
This commit is contained in:
煎饼果子卷鲨鱼辣椒 2024-12-16 00:14:30 +08:00 committed by GitHub
commit 5884f82d66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,7 +144,7 @@ backup_storage_json() {
# Detect OS / 检测操作系统
detect_os() {
if [[ "$OSTYPE" == "darwin"* ]]; then
echo "macos"
echo "darwin"
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then
echo "linux"
else
@ -292,4 +292,4 @@ main() {
}
# Run main function / 运行主函数
main "$@"
main "$@"