tianyun hace 8 meses
padre
commit
b36a6fe87c
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      sh_config.sh

+ 3 - 2
sh_config.sh

@@ -432,10 +432,11 @@ generate_file() {
 # 待测试
 function band_linux() {
 	if [ ! -f "$HOME/bandwhich" ]; then
-        cd ~
+	    cd ~
 		wget https://tianyunperfect1.oss-cn-beijing.aliyuncs.com/file/2024/11/bandwhich-v0.23.1-x86_64-unknown-linux-gnu.tar.gz
         tar -zxvf bandwhich-v0.23.1-x86_64-unknown-linux-gnu.tar.gz
-        rm -rf ~/assert
+        rm -rf bandwhich-v0.23.1-x86_64-unknown-linux-gnu.tar.gz assert
+        cd --
 	fi
 
 	sudo ~/bandwhich