mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-09 10:11:21 +00:00
33 lines
1.2 KiB
JSON
33 lines
1.2 KiB
JSON
{
|
|
"version": "7.0-7",
|
|
"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_10141_v7.0-7-gbef7de8e9.7z",
|
|
"hash": "1955ebc53d54a0f0721e8fa8329d56bf826a064844b32adb8fa017de89d5a63a",
|
|
"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"
|
|
}
|
|
}
|