Skip to content

Commit

Permalink
Make pl and os user definable
Browse files Browse the repository at this point in the history
[GitHub link #33 #29]
  • Loading branch information
ccmywish committed Jun 13, 2024
1 parent 92b3446 commit 18a4142
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 142 deletions.
4 changes: 2 additions & 2 deletions include/chsrc.h
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ auto_select_ (SourceInfo *sources, size_t size, const char *target)
{
if (0==size || 1==size)
{
chsrc_error (xy_strjoin (3, "当前 ", target, " 无任何可用源,请联系维护者"));
chsrc_error (xy_strjoin (3, "当前 ", target, " 无任何可用源,请联系维护者: chsrc issue"));
exit (1);
}

Expand Down Expand Up @@ -365,7 +365,7 @@ source_has_empty_url (SourceInfo *source)
else \
{ \
int __index = use_specific_mirror_or_auto_select (option, for_what); \
source = pl_ruby_sources[__index]; \
source = for_what##_sources[__index]; \
}


Expand Down
Loading

0 comments on commit 18a4142

Please sign in to comment.