mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 14:21:19 +00:00
33 lines
1.2 KiB
JSON
33 lines
1.2 KiB
JSON
{
|
|
"version": "5.9-10",
|
|
"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_9732_v5.9-10-ga2d202368.7z",
|
|
"hash": "9e7b16e1083891ef1d8259505cc3523b6fa460c3113bfb9d1a5d70f4d7dd3556",
|
|
"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"
|
|
}
|
|
}
|