Thomas van Vugt f10172b70e
nano: Fix download URL and file hash (#4340)
Fix nano download URL and file hash
2023-01-11 16:15:31 +05:30

33 lines
1.2 KiB
JSON

{
"version": "7.1-13",
"description": "A small and friendly GNU editor, inspired by Pico",
"homepage": "https://www.nano-editor.org/",
"license": "GPL-3.0-only",
"notes": [
"Configure nano by editing its configuration file %USERPROFILE%\\.nanorc",
"NOTE: The config file was named nano.rc in the 2.5.3 release, but is now named .nanorc"
],
"url": "https://files.lhmouse.com/nano-win/nano-win_10156_v7.1-13-g6e18baad3.7z",
"hash": "5514b73c955cf5b89ae0a9ffd993c086d51c8102d6313f87a97782b032c2b7d2",
"post_install": [
"if (-not (Test-Path \"$env:USERPROFILE\\.nanorc\")) {",
" Copy-Item \"$dir\\.nanorc\" \"$env:USERPROFILE\\.nanorc\"",
"}"
],
"checkver": {
"url": "https://files.lhmouse.com/nano-win/?C=N&O=D",
"regex": "nano-win_(?<build>\\d+)_v([\\d.-]+)-(?<commit>\\w+)\\.7z"
},
"architecture": {
"64bit": {
"bin": "pkg_x86_64-w64-mingw32\\bin\\nano.exe"
},
"32bit": {
"bin": "pkg_i686-w64-mingw32\\bin\\nano.exe"
}
},
"autoupdate": {
"url": "https://files.lhmouse.com/nano-win/nano-win_$matchBuild_v$version-$matchCommit.7z"
}
}