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

@@ -41,7 +41,7 @@ pl_haskell_setsrc (char *option)
}
chsrc_note2 (xy_strjoin (3, "请向 ", config, " 中手动添加:"));
puts (file); br();
println (file); br();
config = xy_normalize_path ("~/.stack/config.yaml");
file = xy_strjoin (3, "package-indices:\n"

View File

@@ -83,7 +83,7 @@ pl_java_setsrc (char *option)
char *maven_config = pl_java_find_maven_config ();
chsrc_note2 (xy_strjoin (3, "请在您的 maven 配置文件 ", maven_config, " 中添加:"));
puts (file);
println (file);
}
if (gradle_exist)

View File

@@ -46,7 +46,7 @@ pl_lua_setsrc (char *option)
"}");
chsrc_note2 ("请手动修改 ~/.luarocks/config.lua 文件 (用于下载):");
puts (config);
println (config);
char *upload_config = xy_strjoin (3, "key = \"<Your API Key>\"\n"
"server = \"", source.url, "\"");

View File

@@ -47,7 +47,7 @@ pl_python_rye_setsrc (char *option)
char *rye_config = pl_python_find_rye_config ();
chsrc_note2 (xy_strjoin (3, "请在您的 Rye 配置文件 ", rye_config, " 中添加:"));
puts (file);
println (file);
chsrc_determine_chgtype (ChgType_Manual);
chsrc_conclude (&source);