mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-08 01:31:20 +00:00
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>
This commit is contained in:
parent
c05491d0b0
commit
dbf71cad44
@ -1,16 +1,32 @@
|
|||||||
{
|
{
|
||||||
"homepage": "https://www.nano-editor.org/",
|
"homepage": "https://www.nano-editor.org/",
|
||||||
"version": "2.5.3",
|
"description": "A small and friendly GNU editor, inspired by Pico",
|
||||||
|
"version": "4.2-243",
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
"url": "https://www.nano-editor.org/dist/v2.5/NT/nano-2.5.3.zip",
|
"url": "https://files.lhmouse.com/nano-win/nano-win_8080_v4.2-243-g2f22373f.7z",
|
||||||
"hash": "c012456b9f29e488b0e9a688aa43a34326dd573f9e99765cbdac2b81a4bc1060",
|
"hash": "5eaf0fa60fb2ad88f728332054940b42d632ca9149c685c8adb2eedcd55ece04",
|
||||||
"bin": "nano.exe",
|
"post_install": [
|
||||||
"extract_dir": "nano-2.5.3-win32",
|
"if (-not (Test-Path \"$env:USERPROFILE\\.nanorc\")) {",
|
||||||
"post_install": "if (-not (Test-Path ~/nano.rc)) { Copy-Item \"$dir/nano.rc\" ~/nano.rc }",
|
" Copy-Item \"$dir\\.nanorc\" \"$env:USERPROFILE\\.nanorc\"",
|
||||||
"checkver": "Latest Version\\s+([\\d.]+)",
|
"}"
|
||||||
|
],
|
||||||
|
"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": [
|
"notes": [
|
||||||
"You can configure nano editor by editing the configuration file nano.rc",
|
"Configure nano by editing its configuration file %USERPROFILE%\\.nanorc",
|
||||||
"in your home folder. For nano to find the configuration file, you will",
|
"NOTE: The config file was named nano.rc in the 2.5.3 release, but is now named .nanorc"
|
||||||
"need to set %HOME% environment variable to point to your home folder."
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user