mirror of
https://github.com/ScoopInstaller/Main.git
synced 2026-01-03 14:34:29 +00:00
44 lines
1.8 KiB
JSON
44 lines
1.8 KiB
JSON
{
|
|
"homepage": "http://www.vim.org",
|
|
"license": "http://vimdoc.sourceforge.net/htmldoc/uganda.html#license",
|
|
"version": "8.0.1216",
|
|
"architecture": {
|
|
"32bit": {
|
|
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.1216/gvim_8.0.1216_x86.zip",
|
|
"hash": "d64aa412ef1b3b5526da8afef21c78ce6c4c571b503876b0c6223e9360939b69"
|
|
},
|
|
"64bit": {
|
|
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.1216/gvim_8.0.1216_x64.zip",
|
|
"hash": "f97c1494ed21fb3cf13855cc77efdb0e4c80f4a42554932d57fc93154533d58b"
|
|
}
|
|
},
|
|
"extract_dir": "vim\\vim80",
|
|
"bin": [
|
|
"vim.exe",
|
|
"gvim.exe"
|
|
],
|
|
"post_install": "if( !(test-path ~\\.vimrc) -and !(test-path ~\\_vimrc) -and !(test-path ~\\vimfiles\\vimrc) -and !(test-path $env:VIM\\_vimrc) ) {
|
|
cp \"$dir\\vimrc_example.vim\" ~\\_vimrc
|
|
\"set shell=$((gcm powershell).path)\\ -executionpolicy\\ bypass\" | out-file ~\\_vimrc -append -encoding ascii
|
|
echo 'Default vimrc file created in ~/_vimrc, with shell set to PowerShell.'
|
|
} else { echo 'Existing vimrc file found, no default configuration created' }",
|
|
"checkver": {
|
|
"github": "https://github.com/vim/vim-win32-installer"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"32bit": {
|
|
"url": "https://github.com/vim/vim-win32-installer/releases/download/v$version/gvim_$version_x86.zip",
|
|
"extract_dir": "vim\\vim$majorVersion$minorVersion"
|
|
},
|
|
"64bit": {
|
|
"url": "https://github.com/vim/vim-win32-installer/releases/download/v$version/gvim_$version_x64.zip",
|
|
"extract_dir": "vim\\vim$majorVersion$minorVersion"
|
|
}
|
|
}
|
|
},
|
|
"suggest": {
|
|
"vimtutor": "vimtutor"
|
|
}
|
|
}
|