更新 main.py,修改切换到用户目录的命令为根目录
This commit is contained in:
2
main.py
2
main.py
@@ -20,7 +20,7 @@ def pseudo_zsh():
|
|||||||
|
|
||||||
|
|
||||||
os.system("clear") # 清屏
|
os.system("clear") # 清屏
|
||||||
subprocess.run("cd /Users/20250910553", shell=True) # 切换到用户目录
|
subprocess.run("cd /", shell=True) # 切换到用户目录
|
||||||
print(f"Last login: {datetime.now().strftime('%a %b %d %H:%M:%S %Y')} on ttys000")
|
print(f"Last login: {datetime.now().strftime('%a %b %d %H:%M:%S %Y')} on ttys000")
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
|||||||
Reference in New Issue
Block a user