From c4f9b916fd9459a9d3401a9a0413e67f8b7d1d8e Mon Sep 17 00:00:00 2001 From: Fushinn Date: Fri, 19 Jan 2024 14:50:32 +0800 Subject: [PATCH] =?UTF-8?q?0.9.8.9=20#####=201.=20=E6=9B=B4=E6=96=B0Docker?= =?UTF-8?q?file=202.=20=E4=BF=AE=E5=A4=8D=E8=B7=AF=E5=BE=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ##### --- README.md | 2 +- core/config.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 150b86b..377e356 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ curl -sSL -o get-taichi.sh https://download.kookoo.top/get-taichi.sh && bash get ``` - 或者 ```Shell -curl -sSL -o https://raw.githubusercontent.com/Xingsandesu/TaiChi_OS/master/.shell/get-taichi.sh && bash get-taichi.sh +curl -sSL -o get-taichi.sh https://raw.githubusercontent.com/Xingsandesu/TaiChi_OS/master/.shell/get-taichi.sh && bash get-taichi.sh ``` #### ARM64 - 内测二进制支持版本Ubuntu18.04日期往后的所有发行版, Docker支持所有运行Docker的发行版, 源码安装支持主流Linux发行版 diff --git a/core/config.py b/core/config.py index b5f225a..804fee0 100644 --- a/core/config.py +++ b/core/config.py @@ -35,10 +35,6 @@ 'get_docker_shell_command': 'curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh' } -# 如果目录不存在,创建它 -if not os.path.exists(os.path.dirname(config_path)): - os.makedirs(os.path.dirname(config_path)) - # 如果存在,尝试打开文件并读取值 if os.path.exists(config_path): try: