Add install.sh
This commit is contained in:
12
install.sh
Normal file
12
install.sh
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
OS_TYPE=$(uname -s)
|
||||||
|
isLinux="$OS_TYPE" = "Linux"
|
||||||
|
if [ isLinux ]; then
|
||||||
|
echo "Running on Linux"
|
||||||
|
elif [ "$OS_TYPE" = "Darwin" ]; then
|
||||||
|
echo "Running on macOS"
|
||||||
|
else
|
||||||
|
echo "Unsupported OS family: $OS_TYPE"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user