跳至内容

scoop-tools

Scoop 提供的增强工具 下载应用时动态替换 URL,以提高下载速度

喜欢这个项目?请给它 Star ⭐️ 或 赞赏 💰

快速开始

安装

  • 添加 abyss bucket (GitHubGitee)

    shell
    scoop bucket add abyss https://github.com/abgox/abyss
    shell
    scoop bucket add abyss https://gitee.com/abgox/abyss
  • 安装

    shell
    scoop install abyss/abgox.scoop-install
    shell
    scoop install abyss/abgox.scoop-update

使用

  1. 设置 url 替换配置,如果有多个值,使用 | 分割

    shell
    scoop config abgox-scoop-install-url-replace-from "^https://github.com|^https://raw.githubusercontent.com"
    shell
    scoop config abgox-scoop-install-url-replace-to "https://gh-proxy.com/github.com|https://gh-proxy.com/raw.githubusercontent.com"
  2. 使用 PSCompletions 添加命令补全

    shell
    scoop install abyss/abgox.PSCompletions
    shell
    Import-Module PSCompletions
    shell
    psc add scoop-install scoop-update
  3. 使用 scoop-install 命令安装应用

    shell
    scoop-install abyss/abgox.scoop-i18n
  4. 使用 scoop-update 命令更新应用

    shell
    scoop-update abyss/abgox.scoop-i18n

Released under the MIT.