mirror of
https://github.com/RubyMetric/chsrc
synced 2025-12-28 13:49:49 +08:00
Update inner macro
This commit is contained in:
@@ -34,14 +34,14 @@ wr_winget_setsrc (char *option)
|
||||
chsrc_run ("winget source remove winget", RunOpt_Default);
|
||||
chsrc_run (xy_2strjoin ("winget source add winget ", source.url), RunOpt_Default);
|
||||
|
||||
chsrc_conclude (&source, ChsrcTypeAuto);
|
||||
chsrc_conclude (&source, SetsrcType_Auto);
|
||||
}
|
||||
|
||||
void
|
||||
wr_winget_resetsrc (char *option)
|
||||
{
|
||||
chsrc_run ("winget source reset winget", RunOpt_Default);
|
||||
chsrc_conclude (NULL, ChsrcTypeAuto);
|
||||
chsrc_conclude (NULL, SetsrcType_Auto);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user