Skip to content

Commit

Permalink
Update README about WinGet
Browse files Browse the repository at this point in the history
  • Loading branch information
ccmywish committed Dec 25, 2024
1 parent 00910b0 commit 536c69d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@

- [x] `Homebrew`
- [x] `Scoop`
- [x] `AUR`
- [x] `WinGet`
- [x] `AUR`
- [ ] `Flatpak`
- [ ] `snap`
- [ ] 缺乏其他平台/包维护者
Expand Down Expand Up @@ -108,6 +108,14 @@ $ scoop install chsrc

<br>

- 可通过 `WinGet` 安装,感谢 [@YU-7]

```bash
$ winget install RubyMetric.chsrc
```

<br>

- 可通过 `PowerShell` 脚本一键下载最新版二进制文件,感谢 [@wickdynex]

若下方链接无法访问,可使用 `https://gitee.com/RubyMetric/chsrc/raw/main/tool/installer.ps1` 替代
Expand Down Expand Up @@ -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
12 changes: 7 additions & 5 deletions pkg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ https://github.com/RubyMetric/chsrc/issues/16

- [x] `Homebrew`
- [x] `Scoop`
- [x] `WinGet`
- [x] `AUR`
- [x] `Winget`
- [ ] `Flatpak`
- [ ] `snap`
- [ ] ...
Expand All @@ -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)
Expand All @@ -30,14 +32,14 @@ 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直接下载的二进制文件

[chsrc](https://aur.archlinux.org/packages/chsrc):从GitHub Release的代码构建

[chsrc-git](https://aur.archlinux.org/packages/chsrc-git):从最新源码构建的版本,偶尔可能不稳定

# Winget

`winget install RubyMetric.chsrc` 直接使用winget命令安装
3 changes: 2 additions & 1 deletion src/chsrc-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
* | czyt <[email protected]>
* | zouri <[email protected]>
* | yongxiang <[email protected]>
* | YU-7 <[email protected]>
* | YU-7 <[email protected]>
* |
* Created On : <2023-08-28>
* Last Modified : <2024-12-25>
*
Expand Down

0 comments on commit 536c69d

Please sign in to comment.