diff --git a/README.md b/README.md index 609d7522..0cf4d802 100644 --- a/README.md +++ b/README.md @@ -70,8 +70,8 @@ - [x] `Homebrew` - [x] `Scoop` -- [x] `AUR` - [x] `WinGet` +- [x] `AUR` - [ ] `Flatpak` - [ ] `snap` - [ ] 缺乏其他平台/包维护者 @@ -108,6 +108,14 @@ $ scoop install chsrc
+- 可通过 `WinGet` 安装,感谢 [@YU-7] + +```bash +$ winget install RubyMetric.chsrc +``` + +
+ - 可通过 `PowerShell` 脚本一键下载最新版二进制文件,感谢 [@wickdynex] 若下方链接无法访问,可使用 `https://gitee.com/RubyMetric/chsrc/raw/main/tool/installer.ps1` 替代 @@ -468,5 +476,6 @@ $ make clean [@ccmywish]: https://github.com/ccmywish [@Efterklang]: https://github.com/Efterklang [@wickdynex]: https://github.com/wickdynex +[@YU-7]: https://github.com/YU-7 [issue#98 on GitHub]: https://github.com/RubyMetric/chsrc/issues/98 diff --git a/pkg/README.md b/pkg/README.md index 19b7b274..ee85ceee 100644 --- a/pkg/README.md +++ b/pkg/README.md @@ -4,8 +4,8 @@ https://github.com/RubyMetric/chsrc/issues/16 - [x] `Homebrew` - [x] `Scoop` +- [x] `WinGet` - [x] `AUR` -- [x] `Winget` - [ ] `Flatpak` - [ ] `snap` - [ ] ... @@ -15,6 +15,8 @@ $ brew install chsrc $ scoop install chsrc +$ winget install RubyMetric.chsrc + yay -S chsrc-bin # Binary from GitHub Release yay -S chsrc # Build from GitHub Release yay -S chsrc-git # Build from the latest main branch (stable) @@ -30,6 +32,10 @@ https://github.com/Homebrew/homebrew-core/blob/master/Formula/c/chsrc.rb https://github.com/ScoopInstaller/Main/blob/master/bucket/chsrc.json +# WinGet + +https://github.com/microsoft/winget-pkgs/tree/master/manifests/r/RubyMetric/chsrc + # AUR [chsrc-bin](https://aur.archlinux.org/packages/chsrc-bin): 从GitHub Release直接下载的二进制文件 @@ -37,7 +43,3 @@ https://github.com/ScoopInstaller/Main/blob/master/bucket/chsrc.json [chsrc](https://aur.archlinux.org/packages/chsrc):从GitHub Release的代码构建 [chsrc-git](https://aur.archlinux.org/packages/chsrc-git):从最新源码构建的版本,偶尔可能不稳定 - -# Winget - -`winget install RubyMetric.chsrc` 直接使用winget命令安装 \ No newline at end of file diff --git a/src/chsrc-main.c b/src/chsrc-main.c index aeb816c8..e630925c 100644 --- a/src/chsrc-main.c +++ b/src/chsrc-main.c @@ -19,7 +19,8 @@ * | czyt * | zouri * | yongxiang <1926885268@qq.com> - * | YU-7 <2747046473@qq.com> + * | YU-7 <2747046473@qq.com> + * | * Created On : <2023-08-28> * Last Modified : <2024-12-25> *