mirror of
https://github.com/ScoopInstaller/Extras.git
synced 2026-07-30 14:25:39 +08:00
46 lines
1.9 KiB
JSON
46 lines
1.9 KiB
JSON
{
|
|
"version": "1.3.14",
|
|
"description": "A better aria2 desktop frontend than AriaNg, with all features of AriaNg and providing more features for desktop usage.",
|
|
"homepage": "https://github.com/mayswind/AriaNg-Native",
|
|
"license": "MIT",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/mayswind/AriaNg-Native/releases/download/1.3.14/AriaNg_Native-1.3.14-Windows-x64.7z",
|
|
"hash": "9025f777c5a629fb5bbe9d4d6f5565f9e783eef80b0e762dd6b98d27794a4370"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/mayswind/AriaNg-Native/releases/download/1.3.14/AriaNg_Native-1.3.14-Windows-x86.7z",
|
|
"hash": "23337f0028c5098cc5258badd34dcdf45c416d6049a5d1d0020a48ad3e126613"
|
|
}
|
|
},
|
|
"pre_install": [
|
|
"if (Test-Path \"$env:AppData\\ariang-native\") {",
|
|
" info '[Persistent AppData]: Moving user data...'",
|
|
" ensure \"$persist_dir\\UserData\" | Out-Null",
|
|
" Copy-Item \"$env:AppData\\ariang-native\\*\" \"$persist_dir\\UserData\\\" -Recurse -Force -ErrorAction 'SilentlyContinue'",
|
|
" Remove-Item \"$env:AppData\\ariang-native\" -Recurse -Force -ErrorAction 'SilentlyContinue'",
|
|
"}"
|
|
],
|
|
"shortcuts": [
|
|
[
|
|
"AriaNg Native.exe",
|
|
"AriaNg Native",
|
|
"--user-data-dir=\"$persist_dir\\UserData\""
|
|
]
|
|
],
|
|
"persist": "UserData",
|
|
"checkver": {
|
|
"github": "https://github.com/mayswind/AriaNg-Native"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/mayswind/AriaNg-Native/releases/download/$version/AriaNg_Native-$version-Windows-x64.7z"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/mayswind/AriaNg-Native/releases/download/$version/AriaNg_Native-$version-Windows-x86.7z"
|
|
}
|
|
}
|
|
}
|
|
}
|