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/",
|
||||
"version": "2.5.3",
|
||||
"description": "A small and friendly GNU editor, inspired by Pico",
|
||||
"version": "4.2-243",
|
||||
"license": "GPL-3.0-only",
|
||||
"url": "https://www.nano-editor.org/dist/v2.5/NT/nano-2.5.3.zip",
|
||||
"hash": "c012456b9f29e488b0e9a688aa43a34326dd573f9e99765cbdac2b81a4bc1060",
|
||||
"bin": "nano.exe",
|
||||
"extract_dir": "nano-2.5.3-win32",
|
||||
"post_install": "if (-not (Test-Path ~/nano.rc)) { Copy-Item \"$dir/nano.rc\" ~/nano.rc }",
|
||||
"checkver": "Latest Version\\s+([\\d.]+)",
|
||||
"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": [
|
||||
"You can configure nano editor by editing the configuration file nano.rc",
|
||||
"in your home folder. For nano to find the configuration file, you will",
|
||||
"need to set %HOME% environment variable to point to your home folder."
|
||||
"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"
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user