From 215e7981f053ece7d4f5c4720feaa308f8f55ae5 Mon Sep 17 00:00:00 2001 From: HeXiangLong <3234374354@qq.com> Date: Tue, 8 Apr 2025 22:53:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=20main.py=20=E4=B8=AD=E4=B8=BA=20'ud'?= =?UTF-8?q?=20=E5=91=BD=E4=BB=A4=E6=B7=BB=E5=8A=A0=E5=AF=B9=20'update'=20?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E7=9A=84=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 46500e5..43a97ee 100644 --- a/main.py +++ b/main.py @@ -80,7 +80,7 @@ def pseudo_zsh(): if args[0] == 'ssh1': subprocess.run(['ssh','root@10.147.17.161']) - if args[0] == 'ud': + if args[0] == 'ud' or args[0] == 'update': try: print("Updating code...") subprocess.run(['git', 'pull'])