Ross Smith II dbf71cad44
nano: Update to 4.2-243 (manually) (#183)
* nano: Update to 4.2-243 (manually)

* Add description

* Add 32/64 bit support

* Convert ~ to $env:USERPROFILE

Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>

* Convert ~ to $env:USERPROFILE

Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>
2019-06-28 10:21:18 -07:00

33 lines
1.2 KiB
JSON

{
"homepage": "https://www.nano-editor.org/",
"description": "A small and friendly GNU editor, inspired by Pico",
"version": "4.2-243",
"license": "GPL-3.0-only",
"url": "https://files.lhmouse.com/nano-win/nano-win_8080_v4.2-243-g2f22373f.7z",
"hash": "5eaf0fa60fb2ad88f728332054940b42d632ca9149c685c8adb2eedcd55ece04",
"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": "x86_64-w64-mingw32\\bin\\nano.exe"
},
"32bit": {
"bin": "i686-w64-mingw32\\bin\\nano.exe"
}
},
"autoupdate": {
"url": "https://files.lhmouse.com/nano-win/nano-win_$matchBuild_v$version-$matchCommit.7z"
},
"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"
]
}