diff --git a/config-mac.sh b/config-mac.sh index ec184ad..a880005 100644 --- a/config-mac.sh +++ b/config-mac.sh @@ -1,6 +1,6 @@ -defaults write com.apple.dock springboard-rows 8 +defaults write com.apple.dock springboard-rows -int 9 -defaults write com.apple.dock springboard-columns 10 +defaults write com.apple.dock springboard-columns -int 12 defaults write com.apple.dock ResetLaunchPad -bool true diff --git a/install-ssr.sh b/install-ssr.sh index c053a7e..755ad32 100755 --- a/install-ssr.sh +++ b/install-ssr.sh @@ -1,3 +1,5 @@ +apt update && apt install -y zip +cd /faronear/ wget https://www.gigsgigscloud.com/cn/downloads/ssr.zip --no-check-certificate unzip ssr.zip cd SSR* diff --git a/remove-ssr.sh b/remove-ssr.sh index 497db36..99d7acc 100755 --- a/remove-ssr.sh +++ b/remove-ssr.sh @@ -12,5 +12,7 @@ rm -rf /usr/local/SSR-Bash-Python rm -rf /usr/local/shadowsocksr rm -rf /usr/local/shadowsocksr.zip rm -rf /usr/local/bin/ssr -rm -rf ./ssr.zip -rm -rf ./SSR-Bash-Python-The-Final \ No newline at end of file + +rm -rf /faronear/ssr.zip +rm -rf /faronear/SSR-Bash-Python-The-Final +echo SSR is removed. \ No newline at end of file diff --git a/run-rsync.sh b/run-rsync.sh index c12df04..956ca0c 100755 --- a/run-rsync.sh +++ b/run-rsync.sh @@ -12,4 +12,4 @@ else read -p "Enter user@remotehost:path >> " REMOTEPATH fi -echo rsync -rvz -e ssh -p 22000 --progress $LOCALPATH $REMOTEHOST +rsync -rvz -e ssh -p 22000 --progress $LOCALPATH $REMOTEHOST