Use println in chsrc

This commit is contained in:
Aoran Zeng
2025-06-20 14:55:04 +08:00
parent ba6fa809d4
commit 5b70f7fd8c
8 changed files with 11 additions and 13 deletions

View File

@@ -70,7 +70,7 @@ wr_anaconda_setsrc (char *option)
}
chsrc_note2 (xy_strjoin (3, "请向 ", config, " 中手动添加:"));
puts (file);
println (file);
chsrc_note2 ("然后运行 conda clean -i 清除索引缓存,保证用的是镜像站提供的索引");

View File

@@ -135,7 +135,7 @@ wr_dockerhub_setsrc (char *option)
chsrc_append_to_file (to_add, WARE_DockerHub_SourceConfig);
}
// chsrc_note2 ("请向 /etc/docker/daemon.json 中添加下述内容:");
// puts (to_add);
// println (to_add);
if (xy_on_linux)
{
// 由于 systemctl restart docker 会导致所有容器停止,所以不自动重启
@@ -151,7 +151,7 @@ wr_dockerhub_setsrc (char *option)
{
chsrc_note2 ("请打开Docker Desktop设置");
chsrc_note2 ("选择“Docker Engine”选项卡在该选项卡中找到“registry-mirrors”一栏添加镜像地址:");
puts (source.url);
println (source.url);
}
chsrc_determine_chgtype (ChgType_SemiAuto);