mirror of
https://github.com/RubyMetric/chsrc
synced 2025-07-17 04:37:29 +08:00
Fix setsrc for WinGet
>=v1.8
This commit is contained in:
parent
93a5ed2e6f
commit
15268cfd0f
@ -38,7 +38,7 @@ wr_winget_setsrc (char *option)
|
||||
chsrc_yield_source_and_confirm (wr_winget);
|
||||
|
||||
chsrc_run ("winget source remove winget", RunOpt_Default);
|
||||
chsrc_run (xy_2strjoin ("winget source add winget ", source.url), RunOpt_Default);
|
||||
chsrc_run (xy_strjoin (3, "winget source add winget ", source.url, " --trust-level trusted"), RunOpt_Default);
|
||||
|
||||
chsrc_determine_chgtype (ChgType_Auto);
|
||||
chsrc_conclude (&source);
|
||||
|
Loading…
x
Reference in New Issue
Block a user