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 / 检测操作系统
|
||||||
detect_os() {
|
detect_os() {
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
echo "macos"
|
echo "darwin"
|
||||||
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||||
echo "linux"
|
echo "linux"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user