hust-open-atom-club/hustmirror-cli

[Feature] 支持 msys2

Aperta

#28 aperta il 26 set 2024

 (0 commenti) (0 reazioni) (0 assegnatari)Shell (10 fork)auto 404
good first issue

Metriche repository

Star
 (25 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

任务描述:在 src/mirrors 中增加 msys2.sh 脚本,使得该工具支持 msys2 换源 任务步骤:

  1. 学习 POSIX shell 基础语法
  2. 尝试在 Windows 上安装 msys2,并学习 pacman 包管理工具的用法以及换源方法
  3. 根据第2步探索出来的换源方法,结合 mirrors 目录下其他脚本的例子,编写一个可以自动给 msys2 更新软件源的方法

Guida contributor