mirror of
https://github.com/RubyMetric/chsrc.git
synced 2025-02-09 02:11:45 +08:00
Make up the fogotten slash for conda
This commit is contained in:
parent
e6f8d17ad0
commit
9f5922e4fd
5
chsrc.c
5
chsrc.c
|
@ -1622,8 +1622,8 @@ wr_anaconda_setsrc(char* option)
|
|||
"\n deepmodeling: ", cloud);
|
||||
|
||||
|
||||
char* config = xy_2strjoin(xy_os_home, ".condarc");
|
||||
|
||||
// TODO: 待确认 windows 上也是这里吗?
|
||||
char* config = xy_2strjoin(xy_os_home, "/.condarc");
|
||||
|
||||
if (xy_on_windows) {
|
||||
char* check_cmd = xy_str_to_quietcmd("conda --version");
|
||||
|
@ -1635,7 +1635,6 @@ wr_anaconda_setsrc(char* option)
|
|||
chsrc_runcmd("conda config --set show_channel_urls yes");
|
||||
}
|
||||
|
||||
|
||||
xy_info(xy_strjoin(3, "chsrc: 请向 ", config, " 中手动添加:"));
|
||||
puts(file);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user