美文网首页
高速下载工具

高速下载工具

作者: 顾北向南 | 来源:发表于2020-01-08 09:44 被阅读0次

    原文链接:https://mp.weixin.qq.com/s/3Ux5_IsYu8OX-cvIyMNE5Q

    GitHub 网址:https://github.com/agalwood/Motrix

    Motrix 官网:https://motrix.app/zh-CN
    Motrix 帮助文档:https://www.yuque.com/moapp/help

    Motrix-Windows安装

    • 建议使用安装包(Motrix-Setup-x.y.z.exe)安装 Motrix 以确保完整的体验,例如关联 torrent 文件,捕获磁力链等。
    • 如果你更喜欢便携版,你可以使用 scoop(需要 Windows 7+,天朝用户可能需要设置 Git 代理)安装最新便携版本的 Motrix。
    scoop bucket add extras
    scoop install motrix
    

    Motrix-macOS安装

    • macOS 用户可以使用 brew cask 安装 Motrix。
    brew update && brew cask install motrix
    

    Motrix- Linux安装

    • 可以下载 AppImage(适用于所有 Linux 发行版)软件包或 snap 或从源代码构建安装 Motrix。运行以下命令进行安装:
    yay motrix
    
    • Motrix 在 Linux 中首次启动可能需要使用 sudo 运行,因为可能没有创建下载会话文件的权限 (/var/cache/aria2.session)。

    本地开发

    • 克隆代码
    git clone git@github.com:agalwood/Motrix.git
    
    • 安装依赖
    cd Motrix
    npm install
    
    # 建议使用淘宝的 npm 源:
    npm config set registry 'https://registry.npm.taobao.org'
    export ELECTRON_MIRROR='https://npm.taobao.org/mirrors/electron/'
    export SASS_BINARY_SITE='https://npm.taobao.org/mirrors/node-sass'
    
    • 开发模式
    npm run dev
    
    • 编译打包。完成以后可以在项目的 release 目录看到编译打包好的应用文件。
    npm run build
    

    相关文章

      网友评论

          本文标题:高速下载工具

          本文链接:https://www.haomeiwen.com/subject/gjmjactx.html