Skip to content

Commit 978d4c6

Browse files
Mikachu2333ccmywish
authored andcommitted
typo
1 parent 03af965 commit 978d4c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/recipe/ware/WinGet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ wr_winget_setsrc (char *option)
4949
use_this_source (wr_winget);
5050

5151
// 2025.8.17 此前用户可能隐式使用默认源导致 remove 失败,故使用 Dont_Abort
52-
// 我也不知道为啥执行两次就可以了,但是确实是能用了……
5352
chsrc_run ("winget source remove winget", RunOpt_Dont_Abort_On_Failure);
53+
// 2025.8.18 执行两次相同的命令后继续设置,无报错,换源成功。具体原因不明
5454
chsrc_run ("winget source remove winget", RunOpt_Dont_Abort_On_Failure);
5555
chsrc_run (xy_strjoin (3, "winget source add winget ", source.url, " --trust-level trusted"), RunOpt_Default);
5656

0 commit comments

Comments
 (0)