mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-06-08 04:22:06 +08:00
Update install.sh
This commit is contained in:
parent
ed46393aea
commit
d45323f316
@ -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 "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user