Xmader / aria-ng-gui

一个 Aria2 图形界面客户端 | An Aria2 GUI for Windows & Linux & MacOS
https://aria-ng.xmader.com/
MIT License
1.76k stars 157 forks source link

新功能建议: 希望能加到choco中去 #11

Open prenfic opened 5 years ago

prenfic commented 5 years ago

Issue:

希望能添加到choco中去

Reason:

方便管理以及更新

Short Intro to Choco:

习惯了开源软件用包管理器统筹,
因此也希望这个我用得顺手的软件能加入repo中,
统一管理更新

**Ref:

choco:**

(official) https://chocolatey.org/ (github) https://github.com/chocolatey/choco

Ps.: 谢谢作者, GUI方便了我不用换电脑换环境就重新配置一遍

0xfe10 commented 5 years ago

我貼一個 scoop XDD

{
    "homepage": "https://aria-ng.xmader.com/",
    "version": "1.9.4",
    "license": "MIT",
    "description": "An Aria2 GUI for Windows & Linux & MacOS https://aria-ng.xmader.com/",
    "architecture": {
        "64bit": {
            "url": "https://github.com/Xmader/aria-ng-gui/releases/download/v1.9.4/AriaNgGUI-win32-x64.zip",
            "hash": "afca91464cb82750659c13aa989e6dd86d7871e0d6afadbd84dc00d53d9d83a4",
            "extract_dir": "aria-ng-gui-win32-x64"
        },
        "32bit": {
            "url": "https://github.com/Xmader/aria-ng-gui/releases/download/v1.9.4/AriaNgGUI-win32-ia32.zip",
            "hash": "945a18d2cec18ab36bd1900544f2dbffbe78497416310c9c412acd3407a36ac1",
            "extract_dir": "aria-ng-gui-win32-ia32"
        }
    },
    "bin": "AriaNgGUI.exe",
    "shortcuts": [
        [
            "AriaNgGUI.exe",
            "AriaNgGUI"
        ]
    ],
    "checkver": {
        "url": "https://github.com/Xmader/aria-ng-gui/releases/latest"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/Xmader/aria-ng-gui/releases/download/v$version/AriaNgGUI-win32-x64.zip"
            },
            "32bit": {
                "url": "https://github.com/Xmader/aria-ng-gui/releases/download/v$version/AriaNgGUI-win32-ia32.zip"
            }
        }
    }
}

可以弄個腳本讓 Travis CI 自動提交過去.

Xmader commented 5 years ago

我貼一個 scoop XDD

{
    "homepage": "https://aria-ng.xmader.com/",
    "version": "1.9.4",
    "license": "MIT",
    "description": "An Aria2 GUI for Windows & Linux & MacOS https://aria-ng.xmader.com/",
    "architecture": {
        "64bit": {
            "url": "https://github.com/Xmader/aria-ng-gui/releases/download/v1.9.4/AriaNgGUI-win32-x64.zip",
            "hash": "afca91464cb82750659c13aa989e6dd86d7871e0d6afadbd84dc00d53d9d83a4",
            "extract_dir": "aria-ng-gui-win32-x64"
        },
        "32bit": {
            "url": "https://github.com/Xmader/aria-ng-gui/releases/download/v1.9.4/AriaNgGUI-win32-ia32.zip",
            "hash": "945a18d2cec18ab36bd1900544f2dbffbe78497416310c9c412acd3407a36ac1",
            "extract_dir": "aria-ng-gui-win32-ia32"
        }
    },
    "bin": "AriaNgGUI.exe",
    "shortcuts": [
        [
            "AriaNgGUI.exe",
            "AriaNgGUI"
        ]
    ],
    "checkver": {
        "url": "https://github.com/Xmader/aria-ng-gui/releases/latest"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/Xmader/aria-ng-gui/releases/download/v$version/AriaNgGUI-win32-x64.zip"
            },
            "32bit": {
                "url": "https://github.com/Xmader/aria-ng-gui/releases/download/v$version/AriaNgGUI-win32-ia32.zip"
            }
        }
    }
}

可以弄個腳本讓 Travis CI 自動提交過去.

非常感谢 我已将软件添加到 scoop 官方的 extras 仓库中了,现在可以通过 scoop install aria-ng-gui 安装

Xmader commented 5 years ago

可以弄個腳本讓 Travis CI 自動提交過去.

scoop 的 extras 仓库维护者会不断从源抓取更新 https://github.com/lukesampson/scoop-extras/commit/bf52ef6e8a6dbea81d0c8aa83a55d46d160dfc21

0xfe10 commented 5 years ago

@Xmader 還有個問題~ 忘記之前是怎麼測試的了 - - 目前這個版本 2.0.0 因爲打包的 zip 沒有目錄結構, 因此不需要再次解壓, 現在這個 json 無法安裝, 把 extract_dir 刪除掉就好了, 或者重新打包, zip 裏面是一個 extract_dir 對應的目錄, 目錄裏面才是分發文件.

{
    "homepage": "https://aria-ng.xmader.com/",
    "version": "2.0.0",
    "license": "MIT",
    "description": "An Aria2 GUI for Windows & Linux & MacOS.",
    "architecture": {
        "64bit": {
            "url": "https://github.com/Xmader/aria-ng-gui/releases/download/v2.0.0/AriaNgGUI-win32-x64.zip",
            "hash": "6e7467cf1ba6c8a5d42073403aa9cc023247ef3f34104525ec767abbbe7a145f"
        },
        "32bit": {
            "url": "https://github.com/Xmader/aria-ng-gui/releases/download/v2.0.0/AriaNgGUI-win32-ia32.zip",
            "hash": "a2f5ab0e0b5042a28301f64c6e41badcac87688ca6e27df9b1b7e832d8cdf357"
        }
    },
    "bin": "AriaNgGUI.exe",
    "shortcuts": [
        [
            "AriaNgGUI.exe",
            "AriaNgGUI"
        ]
    ],
    "checkver": {
        "github": "https://github.com/Xmader/aria-ng-gui"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/Xmader/aria-ng-gui/releases/download/v$version/AriaNgGUI-win32-x64.zip"
            },
            "32bit": {
                "url": "https://github.com/Xmader/aria-ng-gui/releases/download/v$version/AriaNgGUI-win32-ia32.zip"
            }
        },
        "hash": {
            "url": "$baseurl/SHASUMS256.txt"
        }
    }
}
0xfe10 commented 5 years ago

已經提交給 scoop-extras 了.